The Arizona Supreme Court affirmed a lower court’s ruling shortly after hearing oral arguments Tuesday that deemed it was unconstitutional for the state’s budget to be used as a catalyst for passing laws that block public schools from requiring mask and vaccine mandates, as well as prohibiting them from teaching critical race theory.

“While the court does not adopt the trial court’s reasoning in its entirety, it is ordered unanimously affirming the trial court’s judgment,” Chief Justice Robert Brutinel said in the order Tuesday.