I kinda see it as the soft bigotry of low expectations. White people are just kinda assumed to be provincial, uneducated dip-shits. Anyone that breaks the mold, even superficially (:pete:) is treated as some kind of savant.
Foreigners with a stack of degrees and a dozen different fluencies are just considered the standard. Every taxi driver you meet should have a doctorate. Every ex-pat university professor is supposed to be a Nobel Laurette. Otherwise, how the hell did you even get in here? You better be Superman, because otherwise you need to GTFO.