462. No action will be dismissed merely because it is intended to obtain a declaratory judgment; but the court may, if it is of opinion that the interest of the plaintiff is insufficient, or that a judgment will not put an end to the uncertainty or controversy which gave rise to the action, refuse to render judgment.
1965 (1st sess.), c. 80, a. 462.