LGBT advocates have said they expect the Obama administration to immediately appeal the injunction.

Freedom for All Americans, the bipartisan campaign to secure nationwide protections for LGBT people, called O’Connor’s order “outrageous.”Â

â€œTodayâ€™s ruling is a step back for transgender protections by a conservative judge who refused to hear the voices of a single transgender student or worker during court proceedings,” FFAA chief program officerÂ Kasey Suffredini said. “It is shameful that opponents of equality have forced this lawsuit forward in an attempt to make transgender Americans pawns in a political game; but this ruling will not stand the test of time. All transgender Americans â€” particularly transgender youth â€” deserve to be treated with dignity and respect. No singular court ruling negates the right of all Americans to receive equal treatment under the law â€” thatâ€™s one of our nationâ€™s founding values.”

Paxton said in a Â statement he was “pleasedÂ that the court ruled against the Obama Administrationâ€™s latest illegal federal overreach.Â

“This President is attempting to rewrite the laws enacted by the elected representatives of the people, and is threatening to take away federal funding from schools to force them to conform,” he said. “That cannot be allowed to continue, which is whyÂ we took action to protect States and School Districts, who are charged under state law to establish a safe and disciplined environment conducive to student learning.â€Â

Sarah Webelow, legal director for the Human Rights Campaign, said O’Connor’s order “puts thousands of transgender students at even greater risk of marginalization, harassment, and discrimination.”Â

“Despite this judgeâ€™s decision, schools are not barred from following the federal guidance, and school administrators still have a responsibility to ensure that the civil rights of all students are respected and that transgender students have access to facilities consistent with their gender identity,” Warbelow said. “As lawsuits on the scope of Title IX proceed, we believe that justice will prevail as courts continue to recognize that discrimination against transgender students is a form of sex discrimination.â€

Read O’Connor’s order here.Â