A federal appeals court Wednesday threw out a previous court order requiring that Oregon stop housing transgender women in men’s prisons.

The 9th Circuit Court of Appeals panel said a lower court had incorrectly ruled regarding how Oregon housed its transgender women inmates. All three judges on the panel were appointed by President Donald Trump, and they voted unanimously to strike down the order