Court of Appeal rules on loss of credit capacity in bankruptcy