It's only for new cars and in 2035, buyers have 12 years to see it coming and make informed decisions during that period.
That's an issue with electric cars that has not really been solved, afaik. Most batteries will become useless at a rate that is not comparable to critical ICE engine parts, and they continue to be very expensive.