The judges read the state constitution correctly. The state constitution has to be changed. We face the same problem here in MA. I was involved in the unsuccessful effort to amend the MA state constitution back in the early '90s.
The teacher unions are very powerful.
NOT just the teacher unions. The administrative "unions" and the School Board "union" and the education school "unions" also have a vested interested in a monopoly of public educational dollars.