I have known plenty of police who will use "fighting words" to get someone in a position to make an aggressive move.
Remember, a fool will only give into someone's bait while a stronger man will stand up straight and not flinch a muscle.
Keep your cool, man. Let them do something stupid when they see they can't provoke you and turn it right back on them. And I think that's exactly what will happen (because you've already run across the bad cop who flashes his ignorance and thinks he'll do it over and over. No, he will be caught. Don't give into it.)