The Authority given under this Act for the Abandonment by a Company of any Railway or Part of a Railway shall not affect the Right of the Owner or Occupier of any Lands that have been temporarily occupied by the Company to receive Compensation, in accordance with the Provisions of The Railways Clauses Consolidation Act, 1845, for such temporary Occupation, or for any Loss, Damage, or Injury that has been sustained by him by reason thereof, or of the Exercise as regards such Lands of any of the Company's Powers.