When approaching a railroad crossing, the driver must follow everything that controls traffic across it at once: the crossing attendant's instructions, the traffic light signals, the signs and road markings, and the position of the gate. On top of that, you have to check for yourself that no train is approaching the crossing. The gate, the traffic light and the attendant can each forbid entering on its own, even if nothing else forbids it