That would be fine except that cars release poison into the air, old cars especially. Eventually banning ICE cars is an essential public health measure.
It would be the equivalent of banning steam engines, which although no longer in normal use, are still running as tourist attractions and remarkable pieces of engineering that are fantastic to see and experience.
Given that we still allow horses and Model T's on the roads (aside from freeways, due to inability of century-old cars to maintain that speed), I can't imagine why we'd bother banning them. The nostalgia is nice and their impact is negligible.
California: 1992.