Railroad and steamboat police officers shall be paid by the corporation or carrier upon whose petition they were appointed, and the corporation or carrier shall be liable to parties for any official misconduct of the officers to the same extent as for torts of agents and servants in their employment, but no town or city shall be responsible for the acts of the officers.
R.I. Gen. Laws § 12-2-7