Yes, that can be easily explained: The guys doing the statistics checked the "f" box rather than the "m" box. Or whoever did the birth certificate got the sex wrong for whatever reason.
It happens rather frequently, especially in times past. Nowadays I presume we have a few more safeguards to prevent such a thing happening so often.
Miranda