(1) A person who is detained in a remand centre, youth residential centre or youth justice centre is deemed to be in the legal custody of the Secretary while so detained.
(2) As soon as possible after a person is received into a youth residential centre or youth justice centre to serve the whole or a part of a sentence of detention, the officer in charge of the centre may take photographs of the person for the purpose of identifying the person and compiling records of detainees.