The Prime Minister of the United Kingdom is calling on public agencies to enforce a recent Supreme Court decision by barring transgender people from facilities that align with their gender identities.

Keir Starmer said at a NATO summitin The Hague last week that the court’s April ruling determining trans women are not legally considered women under the nation’s Equality Act must be applied “as soon as possible.” This is expected to impact trans people’s access to bathrooms, hospital wards, sports clubs, domestic violence shelters, and more.

“We’ve accepted the ruling, welcomed the ruling, and everything else flows from that, as far as I’m concerned,” Starmer said. “Therefore, all guidance needs to be consistent with the ruling and we need to get to that position as soon as possible.”

Scotland, which is part of the U.K. but has a semi-autonomous government, passed a law in 2018 that all Scottish public organization boards must have an equal number of men and women members. Trans women were included in the number of women board members if they had the gender recognition certificate.

For Women Scotland, a right-wing organization dedicated to so-called women’s “sex-based rights” — a dog whistle used by anti-trans activists to exclude trans people from public spaces and reduce women to their genitals — filed a lawsuit against the government challenging the inclusion of trans women. They initially lost their case in Scotland before appealing to the U.K. Supreme Court, which ruled in their favor.

The country’s Equality and Human Rights Commission issued guidance shortly after the ruling that banned trans people from single-sex facilities — in some cases, even those that match their sex assigned at birth.

The ruling has already been applied by some agencies, including the Football Association, which banned trans women from playing women’s soccer in May without mentioning trans men. Pride Sports, an LGBTQ+ sports organization, told the New York Timesthat there were fewer than 30 trans women playing women’s soccer in England and Scotland, and they had done so “without incident.”

Meanwhile, hate crimes against trans people have increased almost 200 percent in the last five years in England and Wales, according to the U.K. government.