Not just that, start talking hundreds of millions of births and you get clerical error.
Which could then become rather complicated if there are laws saying the sex assigned at birth has significant lifelong legal consequences.