I think I understand what you are saying, and in some respects I have to agree with you.
however, the Miranda rights are basically reading the rights from the 5th amendment in the Constitution, so, like it or not, you are complying with the Constitution in that regard. And if not directly from the U.S constitution, most states have a Miranda reading in their constitution.
However, by stopping someone from carrying a handgun, just strapped to their side you are violating the Constitution.
So, the question still remains unanswered, do you uphold the constitution or do you uphold the desires of some liberal panty waste directing you.
At what point, would you say no to an order and refer your superior (or boss since bosses are not always superior), to the constitution and point out that he is asking you to violate it?