Investigation launched into how man aged about 30 could be enrolled at school as 15-year-old pupil