Yeah it's a good question, but unfortunately large infrastructure projects require a lot more than just formal legal protections of their funding and permitting.
If it takes just one retard at the top to disrupt a massive decades-long project, even in a way that eventually gets negated by a court, then ta-da, we just don't get any more big projects.
The courts, eventually-probably. What this does to the business environment and future endeavours regarding clean energy, however, is an exercise left to the reader