Rehabilitative justice is better than retributive justice, but I'm partial to transformative justice; fix the system that lead to the crimes.
https://en.wikipedia.org/wiki/Restorative_justice https://en.wikipedia.org/wiki/Rehabilitative_justice https://en.wikipedia.org/wiki/Transformative_justice
And its purpose is specially for a slave population.
Some developed nations have reevaluated this, to have convicts be rehabilitated and more collaborative members of society. And the inhumane conditions in the US prisons - for slaves - being valid arguments to prevent extradition.