; or (ii) by or for a nonprofit corporation organized specifically for research, experimental, demonstration, or test purposes in support of or in conjunction with an institution of higher education. (D) Agricultural land acquired by a legal entity for immediate use in non-agricultural purposes, subject to the condition that the land remain in use for non-agricultural purposes. (E) Agricultural land acquired by a legal entity by process of law in the collection of debts, pursuant to a contract for deed executed prior to the date of enactment of this Act, or by any procedure for the enforcement of a lien or claim on the agricultural land, whether created by mortgage or otherwise, if all agricultural land acquired is disposed of not later than 5 years after the date on which the legal entity acquires the title to the agricultural land. (F) Agricultural land acquired or owned by a municipal corporation. (G) Agricultural land acquired or owned by a nonprofit legal entity that— (i) is organized under the laws of any State as a nonprofit legal entity