If in the mortgage deed a time was limited for the payment of the principal secured and under the three last foregoing sections the mortgagee has been required to accept payment of the principal at a time earlier than the time so limited, the amounts payable under those sections shall include—
The costs under paragraph (a) of the foregoing subsection shall, in case of difference, be taxed and their payment enforced in the manner provided in section 23 of this Act for costs of conveyances, and the amount of compensation under paragraph (b) of the foregoing subsection shall, in case of difference, be referred to and determined by the Upper Tribunal.