Except as otherwise provided herein, all actions and suits brought contrary to the provisions of § 9-4-2 shall be dismissed, and any action contrary to §§ 9-4-3 - 9-4-5, may be dismissed. In lieu of dismissal, any civil action brought in the wrong county, if brought in the superior court, or in the wrong division, if brought in the district court, may, in the discretion of the court, be transferred to a proper county or division.
R.I. Gen. Laws § 9-4-6