An insurance policy, rider, or endorsement issued and otherwise valid that contains any condition or provision not in compliance with state law is not rendered invalid but shall be construed and applied according to the conditions and provisions that would have applied had the policy, rider, or endorsement been in full compliance with state law.