Any contract or policy of insurance or any application, endorsement or rider form used in connection therewith issued in violation of any section of this Code requiring certain provisions to be inserted therein or the inclusion of provisions prohibited, or issued without submitting same for approval by the Director in accordance with section 143, shall nevertheless be held valid but shall be construed in accordance with the requirements of the section that the said policy, application, endorsement or rider violates, and when any provision in such contract, application, endorsement or rider is in conflict with any provision of this Code, the rights, and obligations of the company thereunder shall not be less favorable to the holder of the contract and the beneficiary or annuitant thereunder than is required by the provisions of this Code applicable thereto.
215 ILCS 5/442