In journalism and media law, the “public interest” can sometimes be used as a defence in legal cases where information is published that could have affected someone’s rights, such as their privacy.
The question to ask is:
Was it really in the public interest to release this information?