24. Procedure of court in suits regarding loans.

(a) a Court shall, before deciding the claim on merits, frame and decide the issue whether the money-lender has complied with the provisions of sections 20 and 21;
(b) if the Court finds that the provisions of section 20 or section 21 have not been complied with by the money-lender, it may, if the plaintiff's claim is established, in whole or in part, disallow the whole or any portion of the interest found due as may seem reasonable to it in the circumstances of the case and may disallow costs.