Besides, it's not a "the machine says so and not even the Supreme Court can overturn it" scenario. If there's genuinely a reason to cross into the intersection while the lights are red (such as there having been an accident, and a cop is temporarily managing traffic) the ticket will be waived. Heck, there will probably even be photographic evidence of it!
Most countries even have cops judge the tickets, just to already filter out those weird cases. The registration is done by a robot, but the policing is still done by a human.