A court of this state shall treat a foreign country as if it were a state of the United States for the purpose of applying this part and parts 2,3, and 5.