(1) If a court makes an order to remand or detain a child or young person in a youth justice custodial centre, a youth justice custodial officer, on taking physical custody of the child or young person, has the legal custody of that child or young person during the time of removal in accordance with the order.
(2) If the child or young person is removed from the court to a youth justice custodial centre by a police officer, the child or young person is deemed to be in the legal custody of the police officer during the time of the removal.
(3) If the child or young person is removed from the court to a youth justice custodial centre by a protective services officer or a person authorised under section 9A(1B) of the Corrections Act 1986 to carry out transport of a person, the child or young person is deemed to be in the legal custody of the Chief Commissioner of Police during the time of the removal.