(a) Subject to the provisions of this division and any limitations in the articles relating to action required to be approved by the shareholders (Section 153) or by the outstanding shares (Section 152), or by a less than majority vote of a class or series of preferred shares (Section 402.5), the business and affairs of the corporation shall be managed and all corporate powers shall be exercised by or under the direction of the board. The board may delegate the management of the day-to-day operation of the business of the corporation to a management company or other person provided that the business and affairs of the corporation shall be managed and all corporate powers shall be exercised under the ultimate direction of the board.
(b) Notwithstanding subdivision (a) or any other provision of this division, but subject to subdivision (c), no shareholders’ agreement, which relates to any phase of the affairs of a close corporation, including but not limited to management of its business, division of its profits or distribution of its assets on liquidation, shall be invalid as between the parties thereto on the ground that it so relates to the conduct of the affairs of the corporation as to interfere with the discretion of the board or that it is an attempt to treat the corporation as if it were a partnership or to arrange their relationships in a manner that would be appropriate only between partners. A transferee of shares covered by such an agreement which is filed with the secretary of the corporation for inspection by any prospective purchaser of shares, who has actual knowledge thereof or notice thereof by a notation on the certificate pursuant to Section 418, is bound by its provisions and is a party thereto for the purposes of subdivision (d). Original issuance of shares by the corporation to a new shareholder who does not become a party to the agreement terminates the agreement, except that if the agreement so provides it shall continue to the extent it is enforceable apart from this subdivision. The agreement may not be modified, extended or revoked without the consent of such a transferee, subject to any provision of the agreement permitting modification, extension or revocation by less than unanimous agreement of the parties. A transferor of shares covered by such an agreement ceases to be a party thereto upon ceasing to be a shareholder of the corporation unless the transferor is a party thereto other than as a shareholder. An agreement made pursuant to this subdivision shall terminate when the corporation ceases to be a close corporation, except that if the agreement so provides it shall continue to the extent it is enforceable apart from this subdivision. This subdivision does not apply to an agreement authorized by subdivision (a) of Section 706.
(c) No agreement entered into pursuant to subdivision (b) may alter or waive any of the provisions of Sections 158, 417, 418, 500, 501, and 1111, subdivision (e) of Section 1201, Sections 2009, 2010, and 2011, or of Chapters 15 (commencing with Section 1500), 16 (commencing with Section 1600), 18 (commencing with Section 1800), and 22 (commencing with Section 2200). All other provisions of this division may be altered or waived as between the parties thereto in a shareholders’ agreement, except the required filing of any document with the Secretary of State.
(d) An agreement of the type referred to in subdivision (b) shall, to the extent and so long as the discretion or powers of the board in its management of corporate affairs is controlled by such agreement, impose upon each shareholder who is a party thereto liability for managerial acts performed or omitted by such person pursuant thereto that is otherwise imposed by this division upon directors, and the directors shall be relieved to that extent from such liability.
(e) The failure of a close corporation to observe corporate formalities relating to meetings of directors or shareholders in connection with the management of its affairs, pursuant to an agreement authorized by subdivision (b), shall not be considered a factor tending to establish that the shareholders have personal liability for corporate obligations.