This bankruptcy case arises from the lease in 1984 of North Dakota farm property owned by Lawrence P. and Lorraine S. Wild (the Wilds). The facts are not in dispute. The Wilds leased the property to their nephew, Lawrence W. Wild. The lease agreement reserved one-third of any crops grown on the land to the Wilds and directed the lessee (their nephew) to deliver those crops to a legally operated grain elevator. The Wilds brought this action against the Trustee in Bankruptcy (Trustee) of their nephew’s estate after the Trustee took possession of all the grain which had been grown on the leased property. The Wilds claim that they are entitled to one-third of the proceeds from the sale of the grain. The question presented here is whether section 47-16-03 of the North Dakota Century Code required the Wilds to file their lease in the office of the county register of deeds for the county in which the leased land is located for their interest in the crops to have priority against any claim of the Trustee. The Wilds concede that they did not file the lease with the register of deeds. The Bankruptcy Court 50 B.R. 410, granted summary judgment for the Trustee, concluding that the North Dakota statute required the lease to be filed of record if it were to have priority over the Trustee’s interest. The District Court1 affirmed. We affirm the judgment of the District Court.
Section 47-16-04 of the North Dakota Century Code provides that “[t]he products received from real property during the term of a lease belong to the lessee.” This result may be altered by an agreement between the lessor and the lessee. Kern v. Kelner, 75 N.D. 292, 27 N.W.2d 567, 575 (1947). The lease agreement here contained such an alteration; the Wilds reserved a one-third interest in the crops. The Trustee asserts that his interest is superior to that of the Wilds by virtue of his status as a hypothetical lien creditor pursuant to section 544(a) of the Bankruptcy Code. 11 U.S.C. § 544(a). The Trustee argues that the Wilds were required to file their lease as provided in section 47-16-03 to prevail. The Wilds, on the other hand, claim that section 47-16-03 is inapplicable to the lease in this case.
Section 47-16-03 states that
[w]hen a lease of a farm contains a provision reserving title to all or any part of the crops in the lessor until the conditions of the lease have been complied with by the lessee and a division of the crop is made, such lease must be filed in the office of the register of deeds in the county in which the land described therein is located.... The failure to file such lease or contract in accordance with the requirements of this section shall constitute a waiver by the lessor of all rights reserved by him in such crops as against any subsequent purchaser or encum-brancer of the lessee.
N.D.CentCode § 47-16-03. The Wilds assert that this section is limited to leases that reserve title to a lessor until the lessee has complied with the conditions of the lease. According to the Wilds, their lease contained no conditions and therefore the lease does not fall within the ambit of the statute. Relying primarily upon Merchants’ State Bank v. Sawyer Farmers’ Cooperative Association, 47 N.D. 375, 182 N.W. 263, 267 (1921), a case that antedates section 47-16-03, they argue that their title to the crops vested when the crops emerged from the ground and that the North Dakota common-law rule that the retention of title by a landlord in a crop-share lease does not require any filing to be effective against third parties is applicable instead.
While we entertain no doubt that the Wilds would prevail over the lessee, we do not believe that the Wilds’ claim here is superior to that of the Trustee. We are convinced that under section 47-16-03 the Wilds were required to file the lease with *668the register of deeds to have priority over subsequent purchasers or encumbrancers, including the Trustee.
The North Dakota legislature has made only minor changes in the wording of section 47-16-03 since the statute’s enactment in 1941. In 1947, the North Dakota Supreme Court in Kern addressed the import of section 47-16-03, which was then codified as section 47-1603. The court observed that the title to the Act was not reproduced when the Act was codified and that the title was significant. 27 N.W.2d at 575. The omitted title is “An Act to Require the Filing of a Farm Lease Containing a Reservation of Title to Crop in the Lessor and Providing for a Waiver of Rights by the Lessor Upon Failure to File Such Lease.” Id. The court noted that
“the legislature recognized that theretofore such reservation of title was valid as against the world. Thereafter, when the law became operative, the lessor to protect himself against subsequent purchasers or encumbrancers in good faith, would be required to have his contract on file. However, as between the parties the right of reservation of title in the lessor still remained good without filing.”
Id.
We believe that section 47-16-03, read in light of Kern and in conjunction with section 47-16-04, makes the Wilds’ interest in the crops, absent filing of the lease, superi- or only to the interest of the lessee. The Wilds’ interest is superior to the lessee’s interest under the terms of the agreement. See Kern, 27 N.W.2d at 575. Although the agreement alters the effect of section 47-16-04, it provides no notice of this fact to subsequent purchasers and encumbrancers of the lessee. It is for precisely this reason that the North Dakota legislature made the reservation of interests in crops ineffective against subsequent purchasers and encum-brancers unless the lessor files the lease with the register of deeds.
The North Dakota Supreme Court strongly indicated in Kern that the filing requirement applies to any lease that re-serves an interest in crops rather than only to those leases containing conditions. The title of the original act, as that court observed, supports this conclusion. In addition, the District Court determined that the statute was applicable to the Wilds’ lease and we accord substantial deference to the District Court’s interpretation of state law. Mason v. Ford Motor Company, 755 F.2d 120, 122 (8th Cir.1985); Kansas State Bank v. Citizens Bank, 737 F.2d 1490, 1496 (8th Cir.1984). In any event, we believe, as did the District Court, that the lease in the instant case contains certain conditions which serve to bring the lease within the explicit terms of the statute. For example, the lease requires, among other things, that the lessee deliver the Wilds’ share of the crops to a legally operated grain elevator. Thus, we are firmly convinced that this lease is subject to the requirements of section 47-16-03 and that the Trustee’s claim must prevail since the lease was not filed in accordance with that provision. Since we have determined that the lease falls within the coverage of the statute, we need not address the Wilds’ contention that North Dakota common law as enunciated in Merchants’ State Bank v. Sawyer Farmers’ Cooperative Association is applicable instead. We conclude that the District Court and the Bankruptcy Court were correct in their determinations that the Trustee was entitled to judgment as a matter of law and therefore we affirm. See Fed.R.Civ.P. 56(c).
. The Honorable Paul Benson, Chief Judge, United States District Court for the District of North Dakota.