The provisions of this chapter shall not apply to foreign mutual reserve insurance companies doing business in this state upon the legal reserve plan.