Earlier quoted context omitted.
In California (and most places I've lived), this is actually legal. To complete the turn, you first enter the intersection while the light is green, then wait for traffic to clear. If it only clears after the light turns red, you're still in the right - because only when you fully entered the intersection (on the green light) is considered. See here: https://patch.com/california/sanbruno/ask-a-cop-should-i-pul... Of…
In my country there is very specific provision along the lines "it is illegal to enter intersection if an obstacle would force a stop in intersection and block traffic" which means that in a "turn left or go straight" lane you enter intersection and cannot turn left due to traffic and block traffic for cars going straight making that technically illegal. Human drivers, of course, do this all the time.
The real trick against gridlock is to equate the switch to green not as "go", but as "go, once the previous wave has cleared the intersection". The "don't enter before there is room for your car on the far side" is only an optimization on top of that.