Youth justice body 'failed to protect children and public'