There is no mystery to interacting with the police or any other authority figure. Be polite and comply immediately with their directives. If you are oppositional by nature and don't comply with a police directive, you get what you ask for when the police force compliance. Remember, all police officers have a right to return home after each shift.