(a) No railroad company in this state shall use any track motor car for the transportation of its employees unless the motor car is equipped with a windbreaker, a red taillight, and an electric headlight of sufficient brilliancy to distinguish an object the size of a man at a distance of three hundred feet (300').
(b) Any company, corporation, or officer of court owning or operating a railroad of fifty (50) miles in length in whole or in part within this state violating the provisions of this section shall be liable on conviction to a penalty of a fine of not more than five dollars ($5.00) for each separate offense which shall be recovered in a civil action in the name of the state.