A federal judge has ordered a Pittsburgh school district to reverse its policies disallowing three transgender high-school students from using bathrooms corresponding to their gender identities.

The ruling by U.S. District Judge Mark Hornak of the Western District of Pennsylvania comes days after the Trump administration rescinded Obama-era protections for transgender students.