That said, Germany's somewhat unique situation with regard to limited natural capacity for renewable energy means that that, in an argument for any degree of national energy independence, hydrogen could make sense if they can maintain some control the means of production and export.
The mention of using hydrogen in heavy industry is also interesting, and aligns with what I think of as a realistic stance. I used to work in the R&D section of a hydrogen fuel cell OEM, and one of the primary applications of hydrogen vs. batteries is in exactly the area stated: things that need quite a bit of consistent power generation, like buses or cranes or forklifts. Areas where recharge rate and up-time are really important, since available voltage doesn't drop with remaining energy capacity (you have the some available voltage until you stop supplying hydrogen to a fuel cell) and tanks can be refilled or swapped out more quickly than batteries.
I think it's also worth noting, that at least as far as I know, the tech for that sort of thing isn't years and years away on the energy-conversion side. The manufacturing capacity isn't exactly at scale yet, but because of the work put in by giants like Toyota and for specialty industries like refrigerated warehouses, I'd put the maturity of the fuel cells themselves closer to a TRL-7 or -8 than a TRL-2 or -3. It at least makes expectations seem more realistic than if the ministries were to say, "Well, we'll just hydrogen all the things!"