Society does not create sex. Society creates gender. Gender is a social construct. Sex is an expression of your sex chromosomes. The genitalia you have at birth weren’t decided upon arbitrarily by everyone in the room, they’re a direct consequence of whether you have or lack a y chromosome.