And, eventually, you'd need the number of ICE vehicles to be low enough that ubiquitous gas stations won't be economically viable anyway.
Norway has already shown the road to getting to mostly EVs. It costs money. But they can easily ban ICE cars because they've put their money where their mouth is.
It literally doesn't matter that everybody on Hacker News would agree with this, HN is definitely not a representative sample on many topics.
If you think mankind is smarter, look at politics of lately, look at covid-related deniers, folks rejecting masks due to some wacky conspiracy, 5g/chipping and so on and on.
Forcing folks like this while we give places like China, India or other polluters a free pass? Not only are people expected to pay the bill (research, transition), but it literally won't matter on global scale that they do.
It's not for the polar bears, it's for us. Massive droughts and rampant storms are going to be far worse than needing to charge electric cars.
What is your alternate plan? I would love to have a less disruptive path forward.
Where is the negative externality in your example?
Perhaps if electric vehicles were mandated, fast charging stations would be more widely available...