Any city of another state authorized by section 40-05-11 to own, lease, occupy, or hold real estate in this state shall have the same right as a city of this state to sue by its corporate authorities and in its corporate name in the courts of this state for the protection of any rights acquired in real estate in this state and to defend actions in its corporate name relating to the ownership, use, or occupation of real estate acquired.
N.D.C.C. § 40-05-12