The Supreme Court ruled the tariffs the president set violates federal law.