How a Supreme Court ruling could affect tariffs and foreign policy