I'm not a fan of cops, but I do see a lot of ignorance on the part of certain communities/groups (not just minorities) to obey them. If you're dealing with a cop in some manner, that is NOT the time to plead any case, that comes after. If you are obstructionist in any way, that is just going to set them off and escalate things very fast. You're letting them get a foot in the door on becoming larger and larger !@#$s as the situation unfolds.
If you truly are innocent, all you have to do is obey them and get it over with. Yeah, it will feel degrading and you no longer feel like a human being but some kind of animal. However, the better you comply, the quicker it will be over.