The U.S. Supreme Court ruled 6-3 Wednesday to uphold a Tennessee law that bans gender-affirming care for minors.

This decision could set a tone for other challenges to laws barring transgender people from participating in sports, using bathrooms and accessing health care.

The justices rejected the argument that restrictions in Tennessee discriminated against young trans people.