Nothing contained in this chapter shall be construed to limit the power of a court of competent jurisdiction to permit a fiduciary to take any action authorized, or to restrain a fiduciary from taking any action prohibited by a decree of such court, notwithstanding the permissions or restrictions contained in any written instrument under which such fiduciary is acting.