If the share of gasoline cars in the market place gets that low that it is “a drop in the bucket” mainstream manufacturers won’t produce them anyway. Maybe some niche supercar companies would still want to make them, but I imagine there would be room for exemptions like that in any law banning ICE cars.