Politicians literally write the laws that people get convicted of violating, and they can write those laws pretty much however they want. A juror's job is not to decide if they think an act was morally wrong, it's to judge them against the law as written. Laws can and have been written in all kinds of horrible and negligent ways.