The ruling was a setback for a key part of President Trump’s domestic agenda. The case is almost certainly headed to the Supreme Court.

The move blocks a signature administration push that is destined for a final showdown at the U.S. Supreme Court.

A three-judge panel blocked the Trump administration from removing a group of Venezuelans under the seldom-used 18th-century law.