The 17-year-old has been remanded at a youth detention centre until his sentencing hearing