Kan. Stat. Ann. § 58a-416
To achieve the settlor's tax objectives, the court may modify the terms of a trust in a manner that is not contrary to the settlor's probable intention. The court may provide that the modification has retroactive effect.
L. 2002, ch. 133, § 37; January 1, 2003.