Bad analogy. A better one would be:
A person hands me a key to someone's house and says there's something in there I should see that I should report on. It's not against the law, but important for people to know. So I use that key to enter the private property and report on what's inside...