Nothing in this chapter shall impair the rights and powers of the courts or the attorney general and reporter of this state with respect to any trust.