A payment made by a debtor to a creditor before the debtor became a bankrupt and representing in part principal and in part interest shall, notwithstanding any agreement to the contrary, be deemed, for the purposes of this Act but not otherwise, to have been apportioned in satisfaction of principal and interest in the proportion that the principal bears to the amount payable as interest at the agreed rate.