Every foreign insurer, as a further condition precedent to admission and in consideration thereof, shall file with the commissioner an agreement or stipulation, executed by the proper authorities of such insurer, in form and substance as follows:
"The (giving name of insurer) does hereby stipulate and agree, in consideration of the permission granted by the State of California to it to transact insurance business in this State, that if at any time it leaves this State, ceases to transact business in this State or is without an agent for service of process in this State, then in any case where such agent could be served, service may be made upon the Insurance Commissioner, and such service upon the commissioner shall have the same force and effect as if made upon the insurer."
When a foreign insurer, prior to the date this code takes effect, has filed with the commissioner an agreement for service upon him pursuant to the provisions of section 616 of the Political Code as then in effect, such filing is a compliance with this section while such agreement remains in effect.
Ca. Ins. Code § 1604