A court of this state may treat a foreign country as if it were a state for the purpose of applying this article and Articles 2, 3, and 5.