"Distribution to its shareholders" has the meaning set forth in Section 166 of the Corporations Code. However, in Division 1 (commencing with Section 100), Title 1 of the Corporations Code, in this division, and in Division 1.1 (commencing with Section 1000), "distribution to its shareholders" does not include any purchase of shares by a bank or by a majority-owned subsidiary of a bank which is necessary to reduce or avoid loss to such bank or to such subsidiary on an extension of credit previously made in good faith. Also, in this division and in Division 1.1 (commencing with Section 1000), "distribution to its shareholders" includes any distribution made by a bank or by a majority-owned subsidiary of a bank to the shareholders of any corporation of which such bank is a majority-owned subsidiary.
Ca. Fin. Code § 171