The court will hear arguments Wednesday on the legality of the U.S. president’s unprecedented use of powers.