The reasons we get a few wrong can be due to several factors: Secondary sex characteristics do overlap - not much, but enough to introduce a percentage point of errors or so. That does not mean such people are not male or female, but atypical in body characteristics.