If provision is made by a company's articles, or by any agreement entered into between any person and the company, for empowering a director or manager of the company to assign his office as such to another person, any assignment of office made in pursuance of that provision is (notwithstanding anything to the contrary contained in the provision) of no effect unless and until it is approved by a special resolution of the company.