Personally, I blame a longer standing issue of politics designing laws that can not be executed as intended, instead of racism. However, these politics hit minority groups as these are most affected by such legislation. I do believe racism did seriously accelerate the issues here.
In the EU, we have a weberian bureaucracy, this basically compiles to that the institutions such as the belastingdienst will get legislation and execute it as "efficiently" as possible.
However, in recent (±15-20y) politics it is expected that the institutions will actually think / care / morally judge the tasks they are supposed to execute. That just doesn't work, period.
A system such as that is implemented in the US, where a change of political party means the replacement of the bureaucracy / government staffing.
Either we: 1. Start politicizing our institutions and stop asking the bureaucracy to do task X as efficiently as possible.
Or, 2. We make sure that the laws are not written with just the intention in mind, but executionability (and what-if-applied-to-the-extreme) as well.
Unfortunately I don't really see any party talking about institutional change at the moment for the new elections, it's mostly clout chasing in their programmes. That said, the election is for the PS.