A person who--
(a) intentionally and without lawful excuse, does an act, or omits to do an act, which causes the passage or operation of a locomotive or other rolling stock on a railway to be obstructed, or
(b) assists a person to do or omit to do such an act, with the knowledge that the person's intention to do or omit to do that act is without lawful excuse,is liable to imprisonment for 2 years.