The ecclesiastical loophole was that the Church allowed modest "compensation" over and above the amount due on a loan for the hazards and delays of repayment or any legitimate reason providing it was not intrinsic to the contract.
FORBES: Magazine Article