Exactly - who owns and owes these debts exactly? It's clearly not the same counterparties since they would have netted out their debt long ago, in an accounting sense if not in cash.
I think the point is to simulate what trades are necessary for the same counterparties to be creditor and debitor for these loans/debts so precisely this could happen.