Something doesn't have to be encoded in law to be structural. If a cop racially profiles a black man and harasses him and his boss doesn't discipline him, that's structural. The structure has failed to provide the right outcome.
Those are examples of individual racism. You cannot make a law that erases individual racism. You can make one that erases structural. If a department of cops are individually racist and therefore have the effect of profiling people regularly, there is simply no law that can prevent that.