Hijra (transgender, intersex, or eunuch) are recognized, but live at the margins of society on the Indian subcontinent.
https://en.wikipedia.org/wiki/Hijra_(South_Asia)#Social_stat...