No insurance contract delivered or issued for delivery in this Commonwealth and covering subjects which are located or residing in this Commonwealth, or which are performed in this Commonwealth shall contain any condition, stipulation or agreement:
1. Requiring the contract to be construed according to the laws of any other state or country, except as may be necessary to meet the requirements of the motor vehicle financial responsibility laws of the other state or country; or
2. Depriving the courts of this Commonwealth of jurisdiction in actions against the insurer.
Any such condition, stipulation or agreement shall be void, but such voiding shall not affect the validity of the remainder of the contract.
1952, c. 317, § 38.1-339; 1986, c. 562.