A federal appeals court ruled Friday against President Trump’s latest travel ban, saying that it “exceeds the scope of his delegated authority,” but that it was ultimately for the Supreme Court to decide.

A three-judge panel of the United States Court of Appeals for the Ninth Circuit in Seattle affirmed the decision of a federal judge in Hawaii who ruled on Oct. 17 that the order was unlawful on statutory grounds.

The ruling on Friday was a procedural but important step. This month, the Supreme Court allowed the ban — the third version issued by the Trump administration — to take effect for now, and encouraged the appeals courts to rule on the case, a sign that it intended to take up the matter. The Court of Appeals for the Fourth Circuit is considering a similar ruling out of Maryland.

Neal Katyal, who argued the case before the Ninth Circuit court for the state of Hawaii, hailed the decision. “We are very pleased the Court of Appeals recognized that the president’s latest travel ban is flatly illegal,” he said, “and that his order defies the law Congress has laid down.”