An older engine can be put into a 4WD if the emission ADR's match up. Often the emission ADR's for the 4WD are older than those of the donor car, even though the car may be older as the 4WD is/was classed as commercial with lower emission (and safety) standards .
Also if you run straight gas, you can put just about anything in.........

