Section 54. Power of Court to commit convicted person to approved rehabilitation centre or home.
(1) If any Court has convicted any person of an offence under Part II or under section 9, 10 or 11, such Court may, in lieu of the punishment specified for such offence, order such person to undergo counseling or rehabilitation in an approved rehabilitation centre for such period not exceeding six months as may be specified in such order.
(2) If any Court has convicted any female person of an offence under Part IV, such Court may, in lieu of the punishment specified for such offence, order such female person to be committed to an approved home or such period not exceeding six months as may be specified in such order.