Any security held under N.H. Rev. Stat. § 383-E:4-404 through 409 which becomes nonlegal because of changes in the law relating to legal investments or because of conditions arising subsequent to the purchase of such security, may be retained upon application to the commissioner for approval to retain the security.