He probably mistook her for the 16 year old.
He may have been 16, the sex happened in June of last year and he is 17 now.