Subject to the provisions of § 3303 of this title, nothing contained in this chapter shall be construed as restricting the power of a court of proper jurisdiction to permit fiduciaries to deviate from the terms of any will, agreement or other instrument relating to the acquisition, investment, reinvestment, exchange, retention, sale or management of fiduciary property.