We can counter this. The next time you see an officer in a Starbucks, buy them a coffee and make sure the employee knows that you are doing it.
In many places they give policemen free meals and free coffee, because they are glad they come.
Starbucks management should offer free coffee and snacks to all policemen, by way of apology.
And educate their employees to welcome police, NOT to tell them to leave.