“Not all cops” and all that, but enough of them are like that that you have to be really careful how you engage with them.
However, there are different situations. For example, I imagine this person is not very surprised or upset to be called "dyke" in a verbal altercation. That is different from sitting in a quiet courtroom, knowing it is being filmed, watching a popular video where your gender identity and expression is repeatedly insulted.
Let's say the officer was black, the defendant was white, and made a video with lots of racist stereotypes. Would we think that was funny and cool? Would we be surprised if the black man had a breakdown in the courtroom watching it? We wouldn't even be having this conversation.
By all means, call cops pigs, liars, thieves, idiots. If you want to be racist, sexist, or call them pedophiles, I'll defend your right to do so but not be as sympathetic.
Otherwise we're just the hypocritical liberals as the right wingers accuse...