The 11th U.S. Circuit Court of Appeals has rejected a First Amendment challenge to a Florida law that says students must get a parent’s permission to get out of a daily classroom recitation of the Pledge of Allegiance.

But the court ruled that a part of the law requiring all “civilians” to stand during the pledge in schools is unconstitutional.