At this point, what you’re saying is like telling a woman she shouldn’t have been there or wearing that, and ignoring the real issue with power here.
Cops largely are pathetic power-abusing shitheads who escalate at every possible opportunity. You should not have to cower to every whim and demand of a cop if you are not doing anything dangerous. Cops have lost any credibility to suggest that we should have to give a shit about every stupid fucking tiny thing they have an issue with.
Based on your argument, you could say you’ll only speak to a lawyer and you’re giving the cops an out to beat the shit out of you for not complying. Cops don’t understand non-violent approaches to solving any problem, and THAT is the problem to focus on.