The answer depends on the rule about railroad tracks: a driver may cross them only at a railroad crossing, and must give way there to a train, locomotive or railcar. A crossing is built for this: it has a level surface, a good view and signals that warn of a train. A train cannot swerve or stop quickly, so even at a crossing the bus gives way to it, and when approaching, the driver watches the gate, the traffic light and the crossing attendant's signals and makes sure no train is coming