After the revolution, it might very well remain necessary to place people where they could not do harm to others. But the one under restraint should be cut off from the rest of society as little as possible.
Even the roughest character, underneath all that hurt, is someone who wants to love and be loved.
The problem is that replacement of Quantum Mechanics by Quantum Field Theory is still very demanding.