or the investment of trust funds, if such ineligible investment was received by such fiduciary pursuant to a decree of court or the terms of the will, deed, or other instrument creating the fiduciary relationship, or if such ineligible investment was eligible when received or when the investment was made by the fiduciary; provided such fiduciary exercise