Long demonized by Germany’s Green party, which leads some of the government’s top ministries, coal was due to be phased out by 2030, but Russia’s conflict with Ukraine and gas export curbs brought coal back into favour.