(a) The superior court division is the proper division without regard to the amount in controversy, for the trial of civil actions where the principal relief prayed is
(1) Injunctive relief against the enforcement of any statute, ordinance, or regulation;
(2) Injunctive relief to compel enforcement of any statute, ordinance, or regulation;
(3) Declaratory relief to establish or disestablish the validity of any statute, ordinance, or regulation; or
(4) The enforcement or declaration of any claim of constitutional right.
(b) When a case is otherwise properly in the district court division, a prayer for injunctive or declaratory relief by any party not a plaintiff on grounds stated in this section is not ground for transfer. (1965, c. 310, s. 1.)