Re: Public interest defence
There is no possibility of a public interest defence in a case involving National Security.
When Daniel Ellsberg released the Pentagon Papers, he exposed examples of gross governmental misconduct, but the trial went ahead. When Chelsea Manning leaked video of US helicopter pilots laughing as they sprayed bullets into a group of men and as the APCs rolled over the bodies of the dead and dying, she went to prison.
Whatever you reveal about corruption or incompetence, even if the papers explicitly proved that senior NSA officials got together once a month to eat roasted orphans, that is not admissible in a case which simply asks the question "Did you reveal information you were not authorised to?"
You can check out Ellsberg's HopeX talk on this link