I'd recommend reading the EU's reasoning for allowing both natural gas and nuclear energy projects to receive "green" funding - https://www.dw.com/en/european-commission-declares-nuclear-and-gas-to-be-green/a-60614990
But basically it burns much, much cleaner than coal, and is easy to fire up, so works great whilst transitioning the baseload to nuclear and renewable power.