Muslims cut off hands and legs for crimes. That somewhat works, but is obviously very inhuman and prevents such convicts to lead productive and happy lives ever.
So my proposition: cut off testicles instead of hands. That will pacify the violent criminals and will allow rapists to control their lustful urges. The castration will also help cleansing criminal genes from the humanity's genetic pool, while also reduce the stress on taxpayers keeping convicts in prison, which haven't truly corrected a single person ever.
So for the first crime: remove one ball, for the second crime - remove the second one. For the third crime force them to wear female clothes and take estradiol.
If they are incapable to be proper men - let them be girls. That will also boost the prestige of being male.
BTW, Russian prisoners of war can also be castrated - that will cool them down and they are unlikely to take up arms against Ukraine anymore.
That will be the real justice!