In a 6-3 ‌ruling, top US court upholds a lower court’s decision that the Republican president’s use of this 1977 law exceeded his authority