you have to go to a CHP inspection station. they check the motor, vins, ecu, OBD, and all that. It has to be from the same year or newer. Then if its all good, they put a lil sticker thing in yur engine bay, usually on your radiator support, that says its a legal swap so if you ever get pulled over and they make you pop your hood, they can't say shit. But yeah after for smog, it won't pass with higher compression pistons in there. Cams will be fine though