This chapter does not apply to a California state bank having an insured depository institution engage in authorized agency activities as its agent or to a California state bank engaging in authorized agency activities as agent for an insured depository institution in any case other than a case where, but for the provisions of Sections 1389 and 1396, an office of the agent would for regulatory purposes be considered to be an office of the principal.