(1) An official person may request confidential information about a person from a relevant person if the official person believes that the information is reasonably necessary for the official person to assess the person's suitability—
(a) for a youth justice custodial order; or
(b) to be accommodated in a youth justice custodial centre under a youth justice custodial order—
to be made under the Sentencing Act 1991 .
(2) A relevant person who receives a request under subsection (1) may give confidential information that the relevant person holds about a person to the official person who made the request if the relevant person believes that the disclosure is reasonably necessary for the performance by the official person of a function referred to in subsection (1).