(1)No company limited by shares, and no company limited by guarantee and having a share capital, shall have power to buy its own shares, unless the consequent reduction of capital is effected and sanctioned in pursuance of sections 100 to 104 or of section 402.