I think the punishment should depend on what was leaked. If the contents were a clear injustice, then there should be no negative consequences for the leaker. But they must still stand up for their decision in court. What is certainly not acceptable is trying to flee from consequences. This should merit a punishment, which is what happened here.