As long as the motor still retains the catalytic converter, O2 sensors, etc. and you have it inspected by a state referee after the swap, you should be okay. But I think that there are others here that could fill in the details. I know it's not as simple as I make it seem.

h: