Whenever the state comptroller shall apply for appointment of a receiver under the provisions of this chapter, and the deposits of such bank shall be to any extent insured by the Federal Deposit Insurance Corporation, or any similar corporation organized under the laws of the United States, and it shall appear that said corporation will accept the receivership of said bank, then it shall be mandatory upon the chancellor to appoint said Federal Deposit Insurance Corporation, or any similar corporation organized under the laws of the United States, receiver of such bank. In such event, the receivership may be conducted by the Federal Deposit Insurance Corporation or any similar corporation organized under the laws of the United States, at its option, in the proper chancery court of this state and under the provisions of this chapter applicable to other bank receivers. In all instances in which the Federal Deposit Insurance Corporation, or any similar corporation organized under the laws of the United States, shall pay any portion of the deposits of a bank in this state, it shall be fully subrogated to the position of depositors in so far as such payments are made and as equity and justice may appear.