The principle will be replaced by a clause saying a child may be detained “where necessary, including to ensure community safety”, the Labor caucus decided last night.