The answer turns on where the bus would have to stop because of the jam. If a traffic jam past the crossing would force the driver to stop on the crossing itself, entering it is prohibited. So the driver checks ahead whether the whole bus will fit past the crossing, and if not, waits before the crossing until the jam moves forward. A jam that won't make the bus stop on the crossing doesn't trigger this ban