The ruling opens the door to potentially hundreds of billions of dollars in tariff refunds.

The decision is a stinging defeat for Trump — and three conservative justices voted against him.

The decision is a significant loss to US President Trump on an issue that has been critical for his economic agenda.