In any case, where an occupancy is not transferable without the previous sanction of the prescribed authority and such sanction has not been granted to a transfer which has been made or ordered by a Civil Court or on which the Court‘s decree or order is founded,—
(a) such occupancy shall not be liable to the process of any Court and such transfer shall be null and void; and
(b) the Court, on receipt of a certificate under the hand and seal of the 1[Tahsildar]1, to the effect that any such occupancy is not transferable without the previous sanction of the prescribed authority and that such sanction has not been granted, shall remove the attachment or other process placed on or set aside any sale of or affecting such occupancy.