A federal court permitted a lawsuit to proceed against an Illinois school district that allows high school boys to use girls’ locker rooms, restrooms and showers in order to accommodate transgender students.

But girls who don’t want to be seen naked by boys got bad news, College Fix reports. The judge ruled that they have no right to “visual bodily privacy” if the government says so.

Dozens of families sued the Chicago-area Township High School District 211 three years ago due to its policy letting students as young as 14 choose to use the locker rooms of the opposite sex.

“All the students must use the restroom with the knowledge that someone of the opposite sex is present or could walk in at any time,” their lawyers at the Alliance Defending Freedom wrote in a background document on the case.

It makes the stakes clear: “If our government is powerful enough to command innocent school children to disrobe in the presence of opposite-sex classmates, then there will be little it will not be powerful enough to do.”

The plaintiffs, organized as Students and Parents for Privacy, are composed of 52 families made up of 136 parents and current and future students who are “being forced to use the restroom, or change clothes, with someone of the opposite sex in the room.”

U.S. District Judge Jorge Alonso is letting Title IX and religious freedom claims go forward while throwing out other claims.

Tom Petersen, director of community relations for the district, emphasized that “only three” claims are going forward.

“The District will continue to defend our practices that affirm and support the identity of all our students,” Petersen wrote in an email.

When asked about what has happened in the case for the past three years, a spokesperson from the alliance said it was “waiting on clarity from our attorney on this” but has not responded since Tuesday.

Township High School District 211 did not initially choose to let biological males look at females in a partial or total state of undress, according to 100%news.

The Obama administration’s Department of Education threatened to take away federal funding in 2015 unless the school district changed its policy. It received $6 million in 2014.

Though the district already allowed the male student at the heart of the complaint to shower and dress in a private area of the girls’ locker room, federal officials said that accommodation “subjected the student to stigma and different treatment.”

The district changed the policy without telling parents or students, and girls found out “when they walked into their restroom and came face-to-face with Student A,” the male student who identifies as female.

Before the girls’ locker room was opened to Student A but after the restrooms were, a non-plaintiff girl “who had been sexually assaulted previously” saw Student A’s penis, according to Alonso: “District 211 failed to investigate or remediate the situation.”

It’s unconscionable that anyone thinks this invasion of our young girl’s privacy is okay.

Court document here. Comment below.