Except as otherwise provided by law, if land or other real or personal property is acquired by a city in eminent domain proceedings or is acquired by gift, purchase or otherwise, the title obtained by the city shall be in fee simple absolute or like absolute ownership unless the parties agree otherwise in writing and the agreement expressly appears in a recorded deed affecting any real property acquired by the city or in the notice of condemnation.