A will or trust instrument that creates a trust that is:
Subdivision 1 does not apply to the extent that a court of competent jurisdiction determines that application would be contrary to the terms of the will, trust instrument, or other governing instrument described in subdivision 1 and that the will, trust instrument, or other governing instrument may not be changed to conform to subdivision 1.
Nothing in this section impairs the rights and powers of the attorney general or the courts of this state with respect to a trust.
Minn. Stat. § 501B.32
1989 c 340 art 1 s 24