In one sense, race is not real. For example, race does not have a legitimate biological foundation. There aren't really any lines dividing race that most people would think of as objectively real, that is, existing in some way other than a person or group of peoples' assertion that it exists.
That being said, correct or not, people have believed race is a real thing and acted accordingly. The consequences of their actions have created really, tangible consequences, as tangible as physical health, geographical sorting, and material wealth. In this way, race is real.
So how do we acknowledge the truth of the first part and correct the problems of the second part? Is impossible to do both? Or is it impossible to not do both?