...and then when you look confused [Holmes] is like "ah... had you not arrived at that conclusion yet?" and wafts away... leaving you in a gender crisis
Of course, Holmes knew perfectly well you hadn't figured it out yet -- that was the most obvious deduction of all. He deliberately broke the news to you for his own amusement.