(B) Into money, no gain shall be recognized if such money is expended, within a period ending two (2) years after the close of the first taxable year in which any part of the gain upon the conversion is realized, in the acquisition of other property similar or related in service or use to the property so converted, or in the acquisition of control of a corporation owning such other property, or in the establishment of a replacement fund, but loss shall be recognized. Such two-year period shall be extended to five (5) years with respect to property in the Hurricane Katrina disaster area, as defined in the Katrina Emergency Tax Relief Act of 2005, which is compulsorily or involuntarily converted on or after August 29, 2005, by reason of Hurricane Katrina, but only if substantially all of the use of the replacement property is in such area. If any part of the money is not so expended, the gain shall be recognized to the extent of the money which is not so expended, regardless of whether such money is received in one or more taxable years and regardless of whether or not the money which is not so expended constitutes gain. Provided, gain realized on property which is compulsorily or involuntarily converted for public use under Title 11, Chapter 27, Mississippi Code of 1972, or any federal law relating to the involuntary conversion of property for public use shall not be recognized. Provided further, that gain realized on property which is voluntarily converted for public use shall not be recognized after it becomes evident that eminent domain proceedings are probable. Except as otherwise provided, the provisions of this subsection relating to the nonrecognition of gain, including the exception provided in subparagraph (B), shall apply only to an owner of the converted property who has held title to such property for a period at least three (3) years prior to the date of the disposition of the converted property, provided that an owner who acquired such property by bequest, devise, gift or inheritance shall be excluded from this limitation, if the preceding owner acquired title to such property at least three (3) years prior to the date of disposition. However, no gain shall be recognized on property that is compulsorily or involuntarily converted if no gain is recognized with regard to such property under Section 1033 of the Internal Revenue Code.