For me, each individual's identity has always preceded their genitalia (including myself), so I've always been wary of people/situations for-whom/where that's a "defining/deciding factor".
This wonderful article by @OhTimehin@twitter.com explores a similar instance of that
https://thecorrespondent.com/676/in-nnobi-men-can-be-wives-and-women-can-be-husbands-heres-what-that-teaches-us-about-gender-today/50815073452-151a15ba