@mindpersephone @neil I can think of a couple of instances where knowing someone's gender can be useful or even a requirement:
1. Reporting purposes, e.g. gender pay gap (requirement in some jurisdictions, including the one I live in)
2. Insurance, where it can make a significant difference to pricing (though banned in some countries now)