Idk the rules in her municipality, but IMO she should not have been arrested. That being said, initially do what the cop says and you alleviate a lot of heartache. Yessir and No sir goes a long way. Agree with it or not, if it was the law, then she should do what the officer says.
It's going to be funny to watch your head explode when all of these accused "racists" are rightfully exonerated because the basis for BLM (racist cops out killing unarmed black people simply for being black) is a fantasy, plain and simple.