Of course it's more efficient to use batteries, these are all entry level arguments. Perhaps I misread the audience.
The infrastructure cost is totally different. Electrolysis and immobile storage of hydrogen is very cheap.
We don't have a lot of places where for a significant portion of time when there is excess power from renewables, but we will, in the future.
Edit:
To clarify: if you want to produce say 40% of your yearly energy needs from wind and solar, you have to oversize the production since there are many days they produce very little. That then means there are days when they produce more than is consumed. The excess energy could be used for electrolyzing hydrogen from water.
Note no carbon involved. Also the low efficiency doesn't matter, as the energy is "free". Low cost of energy storage method is much more important in this case.
Any other reasons than "batteries are more efficient" for downvoting?