But also note the government is punishing people for legal acts as well. It’s perfectly legal to tell a soldier they do not have to obey unlawful orders, in fact in many cases it’s a requirement. But the us military started court martial proceedings against a sitting congressman person for doing it.
Well yes, but you can't tell a judge "yes, I broke the law, but it's OK because the government broke the law first."