(1) In the heading to section 13AS of the Terrorism (Community Protection) Act 2003 —
(a) for " Children, Youth and Families Act 2005 " substitute " Youth Justice Act 2024 ";
(b) omit " in a youth justice facility ".
(2) For section 13AS(1) of the Terrorism (Community Protection) Act 2003 substitute —
"(1) No provision of the Youth Justice Act 2024 applies in respect of the detention of a child under this Part in a youth justice custodial centre or a police gaol other than the following provisions of that Act—
(a) Part 1.3;
(b) section 33;
(c) Parts 10.1 and 10.2;
(d) section 460;
(e) section 462;
(f) section 464;
(g) section 465;
(h) section 474(1), except—
(i) paragraph (e) to the extent that the paragraph applies to discriminatory treatment that is reasonable and necessary having regard to the nature of the child's detention; and
(ii) paragraph (f);
(i) Division 2 of Part 10.4;
(j) Division 4 of Part 10.4;
(k) Division 5 of Part 10.4;
(l) section 514;
(m) sections 521, 523 and 525;
(n) section 527;
(o) Part 10.5;
(p) Part 11.1;
(q) Part 14.2;
(r) Chapter 15;
(s) Part 18.2.".
(3) In section 13AS(2) of the Terrorism (Community Protection) Act 2003 —
(a) for " Children, Youth and Families Act 2005 " substitute " Youth Justice Act 2024 ";
(b) for "facility" substitute "custodial centre or police gaol".
(4) For section 13AS(3) of the Terrorism (Community Protection) Act 2003 substitute —
"(3) The Youth Justice Act 2024 , in its application in respect of the detention of a child under this Part in a youth justice custodial centre or police gaol, has effect subject to this Part and, in the event of any inconsistency between that Act and this Part, this Part prevails over that Act.".