California DMV engine change rules...?

For any California vehicle '76-newer (older vehicles are still required to have original smog equipment, but there is no bi-annual testing. Year may have changed, but I'm not sure) the engine MUST be the same year as the vehicle or NEWER. The vehicle will have to be smogged for the year of the engine and is required to have all original equipment for the engine.