Since 1978, it's been illegal in France to collect census information on race. This is done under the guise of providing "equality under the law". In practice, as pretty much any minority could predict, all it does is make it impossible to actually talk about the systemic discrimination which happens[0].
You say you lived in France for several years, and yet you're not aware that it's impossible to legally collect data on anything related to racial, ethnic, or religious minorities (including police brutality and incarceration rates). Which, in a way, is my exact point: making it impossible to talk about these issues in France doesn't mean that they don't happen; it just means that people who aren't affected by them aren't aware of them, and so they can continue believing the illusion that this racism somehow doesn't exist, or isn't as bad as it really is.
[0] https://www.independent.co.uk/news/world/politics/how-french...