It is unclear exactly where the case goes from here as Washington faces potential refunds and diplomatic fallout.

The case is widely is expected to be appealed to the U.S. Supreme Court.

The appeals court stayed its ruling until Oct. 14, giving the Trump administration time to ask the Supreme Court to hear the case.