It provides a private prison where the rich can incarcerate miscreant or unfortunate relatives whose presence would otherwise be a burden or embarrassment.
We nonetheless insist that before the state can punish this miscreant, it must conduct a full-dress criminal trial that results in a verdict of guilty.