Wouldn't it make sense for the car manufacturers to request to have these cheating routines to be totally removed from the code itself?
It might even be a good thing to remove dead code -- what isn't there can't possibly cause trouble.
But it complicates product management: instead of a single binary and a bunch of feature flags, you now have a bunch of binary versions; and the number of permutations can get quite large quite quickly.