Except as otherwise provided in paragraph (2) of subdivision (a) of Section 4827.7 in the case of a California state-licensed foreign (other nation) bank or in federal law in the case of a federally licensed foreign (other nation) bank, nothing in this division except subdivision (c) of Section 4879.02 authorizes any sale or merger in a case where the purchasing or surviving corporation is a foreign (other nation) bank unless the foreign (other nation) bank is at the effective time of the sale or merger licensed under Article 3 (commencing with Section 1800) of Chapter 20 of Division 1.1 or authorized under federal law to transact in this state the business to be acquired in the sale or merger.