It goes on the age of the oldest either car or engine.
1972 car plus 2007 engine = pre cat emissions test
2007 car plus 1972 engine = pre cat emissions test.
The only difference is when the engine is older than the car YOU have to prove the age of the engine at M.O. t.
.
.