law: 150. Place of imprisonment and detention.
  (1) Every term of imprisonment whether imprisonment was awarded as an original or commuted punishment may be served in a naval prison, naval detention quarters or in any civil prison, house of correction or military or air force prison or detention barracks.
  (2) Every term of detention whether the detention was awarded as an original or commuted punishment may be served in any naval detention quarters or army or air force detention barracks.
  (3) Where in pursuance of this Act, a person is sentenced to imprisonment or detention or has his sentence commuted to imprisonment or detention, the order in the prescribed form of the Central Government or the Chief of the Naval Staff or the officer ordering the court-martial by which such person was sentenced or the senior officer present in port or, if he was sentenced by the commanding officer of a ship, or other officer empowered under this Act to exercise like powers, the order in the prescribed form of such commanding officer or other officer, shall be a sufficient warrant for the sending of such person to the place of imprisonment or detention, as the case may be, thereto undergo the sentence according to law, or until he reaches such place of imprisonment or detention for detaining him in naval custody or in the case of a person sentenced to imprisonment, in any civil prison or place of confinement.