When any personal estate in this state is vested in a trustee resident therein, or who acts by virtue of a deed, will, or other instrument, recorded or probated therein, or when any administrator or executor in this state has assets in his hands of a decedent who at the time of his death was domiciled in another state, and those having the beneficial interests in such estate or assets are nonresidents of this state, the circuit court of the county in which such trustee, administrator, or executor may reside, or in which such estate may be, may, upon petition or bill in equity filed for that purpose, order such trustee or his personal representative, or such administrator or executor, to pay, transfer and deliver such estate or assets, or any part thereof to a nonresident trustee, administrator or executor, appointed by some court of record in the state in which such beneficiaries reside.