(not a lawyer / legal expert but) Yes, the law and constitution take precedence over an individual's order. "I was just following orders" is not a valid defense.
Of course, many people get away with stuff because the decision to prosecute and the effort needed is not universal. And new presidents have often pardoned previous administration's criminals.
Thing is though, for people like e.g. the national guard that is illegallly being deployed to bring peace to toad-infested Portland it's either follow orders or get fired and lose their income, benefits, and pension - at least temporarily, but they'll need to file a long and expensive civil suit under a hopefully better future administration to get their back payment and / or job/honor reinstated. But they don't have the financial reserves or plan B to do so, thanks to decades of reducing the population's spending power, using pverty as a means to control people.
Of course, many people get away with stuff because the decision to prosecute and the effort needed is not universal. And new presidents have often pardoned previous administration's criminals.
Thing is though, for people like e.g. the national guard that is illegallly being deployed to bring peace to toad-infested Portland it's either follow orders or get fired and lose their income, benefits, and pension - at least temporarily, but they'll need to file a long and expensive civil suit under a hopefully better future administration to get their back payment and / or job/honor reinstated. But they don't have the financial reserves or plan B to do so, thanks to decades of reducing the population's spending power, using pverty as a means to control people.