>There should be a verdict available in trials that is something like “Guilty, but justifiedthat results in no punishment whatsoever.
There is! Jury nullification. "Yeah he's guilty but we're judging the law and its application as dumb and find him innocent" it used to be championed by old-school lefties as a way to beat the tyranny of the state, funny enough. Worth mentioning that it's entirely legal, but illegal to bring up in a courtroom. Darrell Brooks aka "Grounz" even mentioned it during his closing statement.