If a law is genuinely unjust and someone breaks it for a genuinely good reason, punishing them can be morally wrong because it punishes someone for doing what is right rather than what is legal. Laws are supposed to protect people and uphold justice, so when a law directly conflicts with those principles, following it simply because it is the law shouldn’t automatically take priority. Instead of punishing someone who breaks an unjust law for a good reason, the situation and their intentions should be considered.