Any bank, savings bank, trust company, insurance company, savings and loan association, credit union, pension fund, any trustee or other fiduciary or mortgagee approved by the Federal Housing Administration, Veterans Administration, or Farmers Home Administration, are hereby authorized to invest their funds and money in their custody or possession eligible for investments in notes or bonds secured by mortgage or deed of trust on real estate or a leasehold interest insured or guaranteed in whole or in part or eligible for purchase in whole or in part by the Federal Housing Administration, Veterans Administration, Farmers Home Administration, Federal National Mortgage Association, Government National Mortgage Association, Federal Home Loan Mortgage Corporation and any successors thereof to also invest such funds in debentures or other evidences of indebtedness issued by the agencies last enumerated. However, this section shall not authorize fiduciaries to make such investments without the consent of any court where such consent is now required by law.