FORT LAUDERDALE, Fla. (Associated Press) – School districts in Florida may impose mask mandates, a judge said Friday, ruling that Gov. Ron DeSantis overstepped his authority by issuing an executive order banning the mandates.

Leon County Circuit Judge John C. Cooper agreed with a group of parents who claimed in a lawsuit that DeSantis’ order is unconstitutional and cannot be enforced. The governor’s order gave parents the sole right to decide if their child wears a mask at school.

Cooper said DeSantis’ order “is without legal authority.”

His decision came after a three-day virtual hearing, and after at least 10 Florida school boards voted to defy DeSantis and impose mask requirements with no parental opt-out.

Cooper said that while the governor and others have argued that a new Florida law gives parents the ultimate authority to oversee health issues for their children, it also exempts government actions that are needed to protect public health and are reasonable and limited in scope. He said a school district’s decision to require student masking to prevent the spread of the virus falls within that exemption.

The judge also noted that two Florida Supreme Court decisions from 1914 and 1939 found that individual rights are limited by their impact on the rights of others. For example, he said, adults have the right to drink alcohol but not to drive drunk. There is a right to free speech, but not to harass or threaten others or yell “fire” in a crowded theater, he said.

“We don’t have that right because exercising the right in that way is harmful or potentially harmful to other people,” Cooper said. He added that the law “is full of examples of rights that are limited (when) the good of others … would be adversely affected by those rights.”

The highly contagious delta variant led to an acceleration in cases around Florida and record high hospitalizations just as schools prepared to reopen classrooms this month. By mid-August, more than 21,000 new cases were being added per day, compared with about 8,500 a month earlier. The state said 16,820 people were hospitalized on Tuesday, down from a record of more than 17,000 last week.

About 6 in 10 Americans say students and teachers should be required to wear face masks while in school, according to a poll conducted this month by The Associated Press-NORC Center for Public Affairs Research.