(2) Any person owning or operating a railroad in this state shall be liable for any damage caused from a failure to comply with this section. [Formerly 764.140]