Watching your mouth because you fear the authorities with guns is quite the opposite of respect.
They tell you to leave, you can either comply without saying a word, or start an argument knowing where it will take you. Both attitudes are fine.
But starting an argument and then be shocked, shocked! that it lands you in trouble? That's just stupid.
I'm sure the cops have all kinds of anecdotes about how helpful the drunks loitering around a scene at 1AM are!
Nobody, least of all the black community, are saying it's right, they're just saying it's naive to think the world works any other way.
Comply with what you're told and complain later or take a stand and face the consequences. They have tasers and guns and handcuffs and colleagues who will arrive on scene later and assume that you're guilty. Death is a real possibility.