If you're not a criminal, then you have nothing to lose by standing up to the police. That doesn't mean you say "fuck you officer" But you could file a formal written complaint with the police department. Or your councilman. Or your Mayor. Or your congressman. Or your Senator. Or any of the many many many civil rights watchdog organizations.
If you don't like racism, don't enable it.