You may want to check w/ your smog cops, but typically when doing such a swap youd need to retain, or put on all the smog equipment that car would've come with i V-8 config, smog pump, EGR , Cats et al. Hopefully that and using parts which have an E.O. number will keep you legal..... best bet is to call the smog police though....