Now imagine a civil service exam in that same city, entirely race neutral but resulting in a disparity because it tests general skills. The test is de jure racist when all it does is expose the poor education system. Because the education is so poor, the only remediation is to hire unqualified people. So you end up with a deficient civil service in the name of fairness.
There are other ways to examine whether a test or policy is racist.