Whenever any person shall be sentenced to imprisonment in the state training school for youth, the court passing the sentence shall immediately issue a warrant, under the seal of the court, directed to the division of sheriffs, or to any town sergeant or constable of any county in which the court is held, reciting the sentence and requiring a deputy sheriff, town sergeant, or constable to take the person so sentenced and deliver him or her to the superintendent of the training school, and the warrant shall constitute the officer charged with it, while he or she has the warrant in his or her possession for service, an officer in any county in this state into which it may be necessary for him to go, to all intents and purposes whatsoever.
R.I. Gen. Laws § 12-19-27