Unfortunately this (overfocus on genotype) is the mistake the west made when it came to determining homogeneity (and creating nationstates out of whole cloth) and it (plus other phenomena, not meaning to shift blame) has resulted in much of the ethnic cleansing of the 20th century.

As an example, the formation of African states, cutting across traditional tribal lines which resulted in the ethnic cleansing of the Igbo in former Yorubaland/Nigeria.

India has so many complex cases of this that covering it is an essay of its own.

Even Japan, with its claims of being an ethnostate, became one by force of ideology -- force so strong that it seems like common sense even though it was not true then or now.