There is little to no recourse you can take against the school. This is because school enrollment generally requires one parent's consent, and on occassion, a copy of the order stating which parent has physical custody. Don't get me wrong - this was absolutely a joint legal custody decision and needed to be made jointly. The problem is that at this point the court would be yet again changing the child's school. I would suggest that you follow the order specifically, immediatley go to co parenting mediation and after two prompt sessions refile asking the court to reconsider (advising the co parenting mediation failed - if it so fails).
I wish you luck and I'm sorry this happened to you.
Please hit accept to provide me credit for responding.
Family Law Attorney
14 years experience as a family law attorney, instructor of legal ethics and criminal law