Cal. Corp. Code § 191
(b) A foreign corporation shall not be considered to be transacting intrastate business merely because its subsidiary transacts intrastate business or merely because of its status as any one or more of the following:
(c) Without excluding other activities that may not constitute transacting intrastate business, a foreign corporation shall not be considered to be transacting intrastate business within the meaning of subdivision (a) solely by reason of carrying on in this state any one or more of the following activities:
(d) Without excluding other activities that may not constitute transacting intrastate business, any foreign lending institution, including, but not limited to: any foreign banking corporation, any foreign corporation all of the capital stock of which is owned by one or more foreign banking corporations, any foreign savings and loan association, any foreign insurance company or any foreign corporation or association authorized by its charter to invest in loans secured by real and personal property, whether organized under the laws of the United States or of any other state, district or territory of the United States, shall not be considered to be doing, transacting, or engaging in business in this state solely by reason of engaging in any or all of the following activities either on its own behalf or as a trustee of a pension plan, employee profit sharing or retirement plan, testamentary or inter vivos trust, or in any other fiduciary capacity:
(7) The engaging in activities necessary or appropriate to carry out any of the foregoing activities.
Nothing contained in this subdivision shall be construed to permit any foreign banking corporation to maintain an office in this state otherwise than as provided by the laws of this state or to limit the powers conferred upon any foreign banking corporation as set forth in the laws of this state or to permit any foreign lending institution to maintain an office in this state except as otherwise permitted under the laws of this state.