The justices were keenly aware that their decision will have an impact on presidential powers for decades to come