Par. 20.3 of the Rules

To allow an approaching train to pass, and in other cases when crossing a railway crossing is prohibited, the driver must stop before the road marking 1.12 Marking 1.12 (stop line), road sign 2.2 2.2 “Passage without stopping is prohibited”, the barrier or the traffic light in such a way as to see the signals, and if traffic control devices are absent — not closer than 10 m to the nearest rail.