The University of California, Davis, is not allowing transgender students to use the bathrooms that match their gender identity.
The decision follows a lawsuit brought by transgender students who claim the school’s policies violate their civil rights.
The university said Wednesday it would appeal the ruling, which was issued in May.
The ruling came in a lawsuit filed by a transgender student in April who claimed the school failed to protect her and other students from harassment and discrimination.
In a statement Wednesday, the university said it would continue to support the rights of transgender students.
“The University of Davis is committed to making our campuses safe for all, including those who may be at increased risk of sexual and physical violence,” it said.
“We are not at this time advocating for any specific action that would prevent transgender students from using the facilities that align with their gender identities.”
The lawsuit was filed by the California chapter of the American Civil Liberties Union, which said the school violated the rights to privacy, freedom of expression, and religion of transgender and gender-nonconforming students.
The student group had sought an injunction to stop the school from enforcing the policy.
The school, which serves more than 12 million students, did not immediately respond to a request for comment.
The ACLU filed the lawsuit against the school last year and won in a San Francisco federal court.
The suit cited numerous instances in which students reported sexual harassment, including when a teacher at the school called a transgender male student “sissy” and other derogatory terms.
The group said the policy violated students’ civil rights because it would prevent students from changing gender markers on their identification cards and that it would have a discriminatory effect on transgender people.
The lawsuit also claimed that the policy could prevent transgender people from being able to serve in the military.
UC Davis said the university is committed “to the protection of all of our students and staff.”