If a nonresident decedent who is a citizen of the United States or a citizen or subject of a foreign country, provides in his will that the testamentary disposition of tangible or intangible personal estate having a situs within this State as defined in Section 5-2, is to be construed and regulated by the laws of this State, the validity and effect of such disposition shall be determined by such laws. In respect of a nonresident decedent's tangible or intangible personal estate having a situs within this State, as defined in Section 5-2, the court may direct and, in the case of a decedent who was at the time of his death a resident of a foreign country, shall direct the representative appointed in this State to make distribution directly to those designated by the decedent's will as beneficiaries of the tangible or intangible personal estate or to the persons entitled to receive the decedent's personal estate under the laws of the decedent's domicile, as the case may be.
755 ILCS 5/7-6