(a) Except as provided in this section, unless the mortgage or deed of trust provides otherwise, if any property is encumbered by a mortgage or deed of trust, annual crops planted or cultivated by any debtor or those claiming under him do not pass with the property at any sale under or by virtue of the mortgage or deed of trust, but the crops remain the property of the debtor or those claiming under him.
(b) (1) Notwithstanding the provisions of subsection (a) of this section, after the sale, the debtor or those claiming under him and the purchaser or those claiming under him may agree on a reasonable rental of the part of the property occupied by the crops.
(2) This rental is a lien on the crops and continues until paid in favor of the purchaser or those claiming under him, and neither the crops nor any part of them may be removed until after payment.
(3) If the parties are unable to agree on the rental, any party in interest may apply to the court having jurisdiction over the sale or the confirmation of it for the appointment of disinterested appraisers to determine the rental, whose award shall be final.
(c) (1) In addition to any other remedy, the purchaser or those claiming under him, on ascertainment of the rent, may distrain for the rent or any part of it remaining due, as in the case of landlord and tenant.
(2) No provision of this section is intended to interfere with the right of the purchaser or those claiming under him to have possession of the property, except as to the part occupied by the crop, with necessary ingress or egress.