A federal appellate panel said Monday that Alabama’s ban on hormone treatments and puberty blockers for transgender young people could be enforced, the latest in a series of courtroom setbacks for transgender rights advocates.

The three-judge panel from the U.S. Court of Appeals for the 11th Circuit said that a district court judge had erred in partly blocking enforcement of Alabama’s law, which the state’s Republican-controlled Legislature passed last year. All three judges hearing the appeal were nominated to their positions by President Donald J. Trump.

“Absent a constitutional mandate to the contrary, these types of issues are quintessentially the sort that our system of government reserves to legislative, not judicial, action,” Judge Barbara Lagoa wrote in the court’s opinion.

Supporters of transgender rights have looked to the courts to block laws like Alabama’s, which have rapidly become commonplace in conservative states. More than 20 states now have laws banning or severely restricting such care for minors, most of which were passed this year. Several organizations that brought the challenge to the Alabama law criticized the appellate court’s decision on Monday and said in a joint statement that the “case is far from over.”