This assumes a zero-sum situation where we have a fixed amount of fossil free electricity, but that's unlikely because fossil free energy (solar specifically) is the cheapest type of electricity generation we can build today.
Furthermore, the hydrogen can be electrolyzed at times when the supply of fossil free energy exceeds demand, thereby actually improving the economics of intermittent renewables by increasing their overall utilization, and hence incentivizing building more if it.