Since this is a debate, I would like some feedback.
Do you think this is ethical, from a philosophical point of view?
Thank you, when you put it this way, you come across as more honest.
I dislike it when people ask a question in an OP, and then treat any response they don't like as a deflection or something of the like and then complain about how their question isn't being answered.
To answer your question regarding your hypothetical situation: I believe the "written law" isn't everything.
Bureaucracy can be a relentless machine sometimes, even though it is supposed to make life more fair and bearable in an organized way (I guess things being strictly organized and made official isn't always the right thing to do imo, as it tends to restrict freedom and common sense).
I think I'd personally be willing to forgive the criminal offense of such a whistleblower, but understand things aren't that easy when you are a representative of a system.
Also, I cringe at the thought that people would look up to such a person when they get away unpunished, and then try to imitate their behaviour which may result in more social control and "witch hunts".
I don't know what to make of Assanges case, though.
Like I said, I feel like I know too little about the situation to have an opinion on it.