(1) Where an entitlement to compensation under this Division arises out of the inclusion in a planning scheme, at the written request, or with the written consent, of a relevant agency, of a provision reserving land for a public purpose, the planning authority is entitled to be indemnified by the State or the relevant agency, as the case requires, for the payment of that compensation.(2) Any sum to which an authority is entitled under subsection (1) may be recovered as a debt due to the planning authority in any court of competent jurisdiction.