The meaning and legal effect of a governing instrument other than a trust are determined by the local law of the state selected in the governing instrument, unless the application of that law is contrary to the provisions relating to the elective share described in part 2 of this article, the provisions relating to exempt property and allowances described in part 4 of this article, or another publ