Wednesday’s order means the student, Gavin Grimm, cannot use the restroom of his choice when school starts

Receive the latest national-international updates in your inbox

Gavin Grimm on his front porch during an interview at his home in Gloucester, Va., on Aug. 25, 2015. A U.S. appeals court has overturned a policy barring a transgender student from using the boys' restrooms at his Virginia high school.

A federal judge’s order on the use of bathrooms by transgender students was put on hold Wednesday by the U.S. Supreme Court, NBC News reported.

The school board in Gloucester County, Virginia, is challenging a decision by a federal appeals court that ruled it must allow a student, who was born a girl but now identifies as a male, to use the boys’ restroom in the coming school year.

In April, the court ruled that refusing to allow students to use restrooms corresponding to their gender identity violates Title IX, which bans sex discrimination by schools that receive federal funding.