Proposed changes to youth justice laws risk breaching intern