Having been detained by CBP several times I can see the smug look on this officers face. Like, "It's not my policy but I'm happy to do my job."
You see, this is the biggest problem that no one is talking about. Sure, these policies (mass surveillance, unlawful detention, violation of human rights) are handed down by edict by a powerful faction at the top of the food chain, but they are enforced by every day people. People against people, that's what this is about. Its our friends, our colleagues, and neighbors that are doing this. People, the people who have these jobs, have the moral right to resist these policies. They must fight their supervisors or they must resign if they cannot fight. We as a society have to agree that we won't mindlessly follow such ignorant leaders.
Do you know why we still hunt down Nazi's 80 years later? Because "I'm just doing what I'm told" isn't a good excuse.