All true, though to be fair CO2 savings with electric cars also only range, depending on car and country (i.e. local infrastructure and means of electricity production), from 0% to 35% of lifetime CO2 emissions of an equivalent ICE car). https://theicct.org/sites/default/files/publications/EV-life...
Absolutely, I meant that the gains made by electric cars aren't that huge that the inefficiency of h2 production automatically disqualifies that approach.
(I do feel the need to point out that public transport saves much more though, 85% for Hamburg, Germany, so again this heavily depends on the local situation.)