Functions under the criminal matters chapters in relation to a young detainee must be exercised as follows:
(a) to respect and protect the young detainee's human rights;
(b) to ensure the young detainee's decent, humane and just treatment;
(c) to preclude torture or cruel, inhuman or degrading treatment;
(d) to ensure the young detainee is not subject to further punishment (in addition to deprivation of liberty) only because of the conditions of detention;
(e) to ensure the young detainee's conditions in detention comply with section 141 (Detention places—minimum living conditions);
(f) to promote, as far as practicable, the young detainee's reintegration into society;
(g) for a young detainee who is a young offender—to promote, as far as practicable, the young detainee's rehabilitation.