Tech level isn’t really the issue. A government or corporation could have a system where criminals could be put into slavery, or those with debts sign up for a ten year contract to pay them off. Why buy robots when you effectively have a free work force. The main thing I’d say is that as GM, you decide. Even if the law seems odd or “outdated” if you decide the planet has that law, then it has that law. Unless you want to go into the history of the planet and decide just how this is still a thing there, all you can do is present a snapshot of the planet how it is now.