In section 38ZT(4) of the Crimes (Mental Impairment and Unfitness to be Tried) Act 1997 , for "Division 1 of Part 7.8 of Chapter 7 of the Children, Youth and Families Act 2005 " substitute "Division 1 of Part 9.2 of the Youth Justice Act 2024 ".