The court did not say how the government should refund the illegal tariffs, worth an estimated $175 billion.

Supreme Court Justice Brett Kavanaugh, in his dissent, warned that "the refund process" for tariffs "is likely to be a 'mess,' " citing oral arguments

The Supreme Court ruling that President Trump's tariffs are illegal will lead companies to seek billions in refunds, but the decision was silent on the issue.