This is not punishment, this is revenge. Punishment is a corrective action, this breaks them even more. By the way, this is extremely dangerous - to paraphrase Nietzsche: in solitude, whatever you bring with you grows. Do we really want whatever they're bringing to grow?