He pleaded not guilty and a seven-day jury trial is scheduled for next January.
Fairgray was granted interim name suppression last year but his application for this to continue was rejected on June 21.
He then appealed that decision to the High Court at Auckland.
In support of this his lawyer, Susan Gray, pointed to his extensive mental health history, age and neurodiversity.
She argued that despite him being 21, the impact of publication would be disproportionate in contrast to a neuro-typical adult in a comparable position.
Justice Layne Harvey was not satisfied this, or other arguments put forward on Fairgray’s behalf, warranted continued name suppression in relation to this matter.
Fairgray’s first appearance in the Waitakere District Court occurred on November 17 last year, when only one charge had been laid.
Judge Lisa Tremewan granted him bail during this hearing.
Conditions she imposed on his release included a 24-hour curfew, not to consume or possess alcohol and drugs, not to go to West Auckland unless attending court and not to contact the defendant.
Judge Tremewan also barred him from being in contact with anyone under 16 unless they were with an approved person and to surrender his passport.
His case has now been transferred to the Auckland District Court.
Sexual connection with a young person under 16 carries a maximum sentence of 10 years imprisonment.
Supplying a Class C drug holds a maximum penalty of eight years in prison.
Katie Harris is an Auckland-based journalist who covers issues including sexual assault, workplace misconduct, media, crime and justice. She joined the Herald in 2020.
Sign up to The Daily H, a free newsletter curated by our editors and delivered straight to your inbox every weekday.