Gender isn't purely a reflection of human physiology. In fact, gender is arguably divorced from physiology entirely. 'Sex' is what refers to humans with male or female reproductive physiology.
IE any individual can embrace and choose to identify by the female gender, regardless of their insides.
and by IE, is it safe to assume you mean Internet Explorer?