LANSING, Mich. (AP) — A Catholic school in Lansing has lost an appeal over a Michigan policy that required masks on young kids earlier in the pandemic.

Although the statewide mandate ended, some counties are stepping in and requiring masks in schools when the 2021-22 year starts.

READ MORE: U Of M Establishes New Sexual Misconduct Policy For Employees, Students

Resurrection School and some parents sued in 2020, saying a state mask order violated the free exercise of religion, among other objections. A judge, however, refused to intervene and issue an injunction.

The 6th U.S. Circuit Court of Appeals affirmed that decision Monday.

U.S. District Judge Paul Maloney “correctly concluded that because the requirement to wear a facial covering applied to students in grades K–5 at both religious and non-religious schools, it was neutral and of general applicability,” the court said.

READ MORE: AG Nessel Reissues Consumer Alerts Amid Flooding, Power Outages In Michigan

Attorney General Dana Nessel, whose department defended the policy, praised the decision.

“As science has proven and now the 6th Circuit agrees, enacting a mask mandate in the manner in which MDHHS did so does not violate one’s rights — it is a measure by which we can better protect public health,” Nessel said, referring to the health department.

Separately, the state had argued that the school’s appeal was moot and meaningless because a statewide mask rule had ended by summer. But the appeals court disagreed and still heard the case.

The Michigan health department could revive a mask mandate if COVID-19 cases get worse, the court noted.

MORE NEWS: 17-Year-Old Charged In Non-Fatal Shooting In Detroit

© 2021 Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.