Sex slavery cleared debts, court told