Every domestic insurance company and its officers, directors and agents and employees shall have power and authority to comply with any statute, ordinance or other law of any state, territory or political subdivision thereof, including the District of Columbia, imposing any license, excise, privilege, occupation, premium or other tax or fee or deposit requirement. No such company, officer, director, employee or agent shall be subject to liability by reason of any such compliance or payment either heretofore or hereafter made, if at a later date the Supreme Court of the United States declares such tax or deposit to be unconstitutional.
36 M.R.S. § 2521