If the kid is white, possible learning outcomes include:
a. self-hate, leading to depression and self-harm
b. reading between the lines, learning that to be normal he must be racist against black people, because that is just how white people are
c. rage at being disfavored by every diversity initiative, leading to a desire for revenge
If the kid is black, possible learning outcomes include:
a. hatred toward white people due to being told that white people are to blame for all the bad in life
b. giving up on life because the world seems so racist that life is hopeless
c. deciding that if most people believe he is prone to crime, it is probably true or he might as well make it true
Most of the above will be recognized by both sides as "othering" that is enough to prevent friendship. That's what is being taught, even if not intended.