The 15-year-old, who cannot be named for legal reasons, was remanded in custody following alleged incident in classroom.