The Trump administration said it will appeal a judge’s authority to order across-the-board refunds of all tariffs ruled illegal by the US Supreme Court, potentially injecting legal chaos into a claims process that’s already underway.

The Justice Department filed notice on Friday that it will appeal a court order compelling customs authorities to recalculate all import taxes that the administration collected under President Donald Trump’s use of a 1970s-era emergency powers law.