California DMV engine change rules...?

Been a long time since I've read any of this but generally in any state, I believe you have to go by the year of the vehicle or the engine, whatever is newer. Otherwise people would be "fixing up" so called "1965" engines in every rig "West of the Pecos"