At least it doesn't pollute when it burns. Hydrogen is also a decent storage capacity when you have plenty of renewable energy to store. Which is happening, just look at Norway or Germany.
It still emitted more carbon more to build than most people will emit in their lifetime, kinda like burning the house down but telling everyone its ok because you saved the shed.
That said, I do like the idea of converting excess energy to hydrogen. If only there was an energy source that wouldn't cause global warming, would be a great base load next to more fickle renewables, and which could be diverted to generating hydrogen when demand for energy is low.
Germany has a lot of renewable sources and it's full on building much more. You're confusing it with their dumb policy of closing nuclear power plants. They are also considering hydrogen as storage to replace coal and gas power plants during winter. Note winter, they have not much problems during summer where electricity is abundant and often has a negative price.
What does Norway being oil exporter have anything to do with this topic?