Babies don't care about gender or sex so the label isn't the issue. The issue is being raised by parents who do nothing but think of gender and sex.
The baby would still need its biological sex for medical reasons.
https://www.thesun.co.uk/news/3934423/gender-unknown-baby-registered/