The problem with this analogy is that trespassing on a physical property and altering the user agent when making a query to a public server are totally incomparable.
It's more like you're handing out personal documents on the street to everyone with a mustache and some guy comes up with a fake one and you get tricked.