(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.