High Court ruling clarifies repayment issues