167Notwithstanding where a contract was made, an action on it may be brought in a court by a resident of the Province if the insurer was authorized to transact insurance in the Province at the time the contract was made or at the time the action is brought.