The Supreme Court could at any time remove the ability of individual judges to issue a nationwide injunction against the federal government. Both Thomas and Sotomayor have made rumblings that they're considering it- it's the most nakedly partisan abuse of the judicial system today. More interestingly, Congress could- by the Constitution!- remove the jurisdiction of some courts to hear some cases. You can read more about jurisdiction stripping here- completely legal and as old as the republic
https://en.wikipedia.org/wiki/Jurisdiction_stripping