A court of this state may treat a foreign country as if it were a state for the purpose of applying sections 30-3901 to 30-3917 and 30-3921 to 30-3923.