Judge concerned over lack of custodial places for young offenders