All contracts of casualty insurance covering subjects resident, located, or to be performed in this state shall be subject to the applicable provisions of this part and to the other applicable provisions of this code.