The end of new ICE sales should be no later than 2025. 2035 should be the last year it's legal to register an ICE. Maybe they can add a tax on fools fuel for the next 15 years then buy any remaining ICE at fair market value with the fund. Crush 'em and stack 'em into a wall on the southern border so everyone gets a little bit of a win....
They picked 2035 for cars and 2045 for trucks, because they are pretty certain nobody would be buying ICE versions of those by that date anyway, so it is a nice PR stunt with zero teeth.
ps: I would say they even applied ~5 years of buffer, based on battery day reveal it is safe to predict zero ICE car sales beyond 2030.