(1) In the event of the death or incapacity of a dealer or the majority stockholder of a corporation operating as a dealer, the manufacturer, distributor, or wholesaler shall, at the option of the heirs at law, if the dealer died intestate, or the devisees or transferees under the terms of the deceased dealer’s last will and testament, if the dealer died testate, repurchase the inventory from such heirs or devisees as if the manufacturer, distributor, or wholesaler had terminated the contract; and the inventory repurchase provisions of s. 686.407 are made expressly applicable to the repurchase under this section. The heirs or devisees shall have 1 year from the date of the death of the dealer or majority stockholder to exercise their option under this section. However, nothing in this section requires the repurchase of inventory if the heirs or devisees and the manufacturer, distributor, or wholesaler enter into a new franchise agreement to operate the retail dealership. (2) This section is subject to that portion of the manufacturer’s, distributor’s, or wholesaler’s contract or agreement with the dealer pertaining to death of the dealer or succession to the extent such contract or agreement is not inconsistent with this section.