It's concerning that many responses in this thread have a similar story of negatively messing with someone until they adjust their behaviour. Please, if you think this is okay you shouldn't even be allowed a dog, let alone social interactions with other people.
Yeah not to be a scold, but the degree of antisocial/passive-aggressive behavior stuns me.