I don’t know if it deters them but it sure as heck gets rid of them. :-)
My point: It is a permanent deterrence to recidivism.