It’s not a question of either using coal or nuclear power in Germany. The idea is to phase out coal power production by 2038 and replaced them by building 40 green hydrogen plants in order to be climate neutral by 2045 with renewables, which already are 52% of the German mix and the before mentioned green hydrogen plants.
Here’s a Google translation of a source about the energy transition in Germany:
Germany is already at 52% renewables. So there’s a lot of wind and solar power plants. Hydrogen plants already exist. You only have to switch their power supply from fossil fuels to renewables and you get green hydrogen. It’s entirely feasible.
Source: https://www.siemens-energy.com/global/en/home/products-services/product/hydrogen-power-plants.html