when you buy a new car, you do not have to smog your car for five years.
the intake and header has to be CARB approved. the catalytic converter kinda matters, best to get a smog approved one or an oem one. test pipes will not pass.
so yes, change your intake back to stock if you have one that is NOT CARB approved, exhaust will not matter.