Yes, California’s sales ban for new fossil fuel vehicles starts in 2035. So you can continue driving any gasoline car purchased before then. The law only prohibits dealers from registering the model year 2035 or newer gasoline vehicles.