Future offshore wind farms now need to add in the expected costs and project risks of this sort of illegal government action when they make the decision at the early stage.
Trump is likely to have delayed off shore wind in the US by at least 4 years, and may be many more. This will cost ratepayers a lot, and set the US behind most other countries in the world.
Agreed on solar and batteries being mostly unstoppable, though. The Trump administration has not yet figured how to misuse the courts to block those. Their better influence is through PUCs and utility execs, that are likely to bend to the will of Trump.