What the city did in this particular case was deliberately shorten the yellow light to a lower time than is actually legal or safe - just to make a few extra bucks.
Now, if your argument was more that "well, the city's wrong, but most of the people who ran the lights are still guilty", then the argument is really similar to the one about the exclusionary rule (evidence in criminal cases can't be used if obtained through an illegal search). Without some way to punish the city, there's no disincentive for them not to keep screwing over people - in this case, in a way that actually increased the accident rate. There's got to be some pain felt for malfeasance, and it sounds like that's exactly what's going on here.