Where a provision included in a contract of insurance (other than a contract of insurance that is included in a class of contracts declared by the regulations to be a class of contracts in relation to which this section does not apply) authorizes or permits the insurer to vary, to the prejudice of a person other than the insurer, the contract, the provision is void.