The given case is an example of an ascribed status.
Ascribed status refers to the social status of an individual that is assigned at birth or presumed involuntarily afterward in life. It refers to a position that is neither chosen nor earned but assigned.
It can also be defined as a position in a social group, which one is born with and exhibits no control over. The examples of ascribed status are color of the eye, gender, ethnicity, and race.