My two cents: I think she is born a hermaphrodite, raised as a woman.
Here in The Netherlands there is a famous person who was born a hermaphrodite too, and she was operated right after birth, the manly part of the genitals being removed, raised as a girl, but with clearly man-like features. Kinda simular to Imane.
There are some pictures circulating of Imane as a kid, being dressed like a girl. She is not raised in a place where it is likely she would swap gender along the way. A scenario like above would seem most likely to me.