You may ride around lowered gates at a railroad crossing:
You are required to stop at any railroad crossing when signals warn of an approaching train. These signals may include flashing red lights, a lowered crossing gate, a flagger signaling, or a train’s audible signal of warning. It is against the law to go around a lowered gate.