A court of this state may treat a foreign country as if it were a state for the purpose of applying sections 524.5-601 to 524.5-903.