Every person who shall without right attach himself or herself to or shall be in or upon any locomotive, locomotive tender, freight car, or freight train upon any railroad track shall be fined not more than twenty dollars ($20.00), or be imprisoned not more than ten (10) days, or both. Any person violating this section may be arrested without a warrant by any police officer, or any railroad police officer, and proceeded against according to law.
R.I. Gen. Laws § 11-36-11