81.02 OBSTRUCTING STREETS.
Operators shall not operate any train in such a manner as to prevent vehicular use of any highway, street, or alley for a period of time in excess of ten (10) minutes except:
(Code of Iowa, Sec. 327G.32)
1.   Comply with Signals. When necessary to comply with signals affecting the safety of the movement of trains.
2.   Avoid Striking. When necessary to avoid striking any object or person on the track.
3.   Disabled. When the train is disabled.
4.   Safety Regulations. When necessary to comply with governmental safety regulations including, but not limited to, speed ordinances and speed regulations.
5.   In Motion. When the train is in motion except while engaged in switching operations.
6.   No Traffic. When there is no vehicular traffic waiting to use the crossing.
An employee is not guilty of a violation of this section if the employee’s action was necessary to comply with the direct order or instructions of a railroad corporation or its supervisors. Guilt is then with the railroad corporation.