146. A warrant issued in accordance with the provisions of section 143 or section 144, or an order of the prescribed officer for the transfer of a person undergoing a sentence of imprisonment or detention from one description of custody to another, shall be sufficient authority for committing the person concerned to prison, detention barrack or naval custody or, as the case may be, for transferring him from one description of custody to the other.