(3) If in the case of any insurance company provision is made by the articles of association of the company or by an agreement entered into between any person and the company for empowering a director or manager or other officer of the company to assign his office to any other person, any assignment of office made in pursuance of the said provision, shall, notwithstanding anything to the contrary