law: 172. Conveyance of prisoner from place to place.-
  A person under sentence of transportation or imprisonment may during his conveyance from place to place, or when on board ship, aircraft, or otherwise, be subjected to such restraint as is necessary for his safe conduct and removal.