Race isn’t just genetics. If that were the case, Obama and other people of mixed race ancestry would not be just black. It’s significant enough ancestry from a race that it determines the phenotype wholly or mostly, which would affect how the person is perceived by society thus how they identify their race.