There is no excuse for following an *ILLEGAL* order. In this case, you will have legal orders that the cops can agree with or disagree, but it’s still a legal order and they have to follow it or quit or be punished.
Parse words as you wish, an order, based on unconstitutional ‘law’ should be refused. Hitler officers oder were ‘legal’, yet criminal.