Theoretical question. If you add a V8 drivetrain into a Nissan Leaf Electric car. Would you still have to CA SMOG it?

I’m not going to do it obviously, but if someone bought a junkyard Nissan Leaf Electric car, then you could put ANY engine in it and if no one notices, you could probably get away with never having to SMOG it. This is a California problem so you could see why I ask this.