Is the driver of a green car allowed to overtake?

Explication
The red car is negotiating the roadworks obstruction formed by the barrier, dump truck, and material piled on the roadway. The green car must not begin to pass while the vehicle ahead is already moving around an obstruction; the red car's speed does not create an exception.