It is never legal to block an intersection.
I do this all the time.
There is extremely heavy traffic.
You entered on a green light.