You cannot "safely" break the rules of the road. They're rules, not suggestions. Period.
Be careful with such absolutes.
Hypothetical: It's 3am, you're at a red light. There are no cars anywhere around and you have good visibility on all approaches. You eventually realize that the traffic light has gone through three cycles without giving you a green for your turn. Do you continue to sit there indefinitely? Maybe moving your car a few feet forward or back will trigger the sensor. Maybe not. Under these circumstances, treating the light as broken and proceeding cautiously would be acceptable, IMO.
It would still be illegal, but if there is absolutely no one else around then you could probably get away with it.