What decides the answer is the rule for an emergency stop on a railroad crossing: the general alarm signal is one long and three short audible signals given one after another. The driver gives it while staying near the bus, to draw attention to the danger. Before that, the driver immediately gets the passengers off and tries to clear the crossing, and if possible sends two people along the tracks in both directions for 1000 m to stop the train