It's not that he wants a jury trial, which is guaranteed to him by the Bill of Rights, but that he wants to make a "my actions were in the public interest" defense which is not allowed.
But yeah as far as a legal mechanism the jury can't say "well he met the requirements of public interest and the law says that means he's innocent / should go free".