I suppose that hasn't been explored in the legal system currently. Most electric cars would be considered a zero emission vehicle. If you bolted a generator to an electric car that'd change its emissions. One could argue this defeats the original emissions target, but that sounds like a stretch.
Overall if the car has some sort of devices that limits, mitigates, or eliminates emissions then any modification to it can be considered a defeat device