No increment in salary resulting from any rule or regulation providing for an increment in salary for temporary service as chief justice, presiding justice or chief magistrate shall be construed to add to the annual salary of a judicial officer for purposes of retirement under § 8-8.2-6 or § 8-8.2-9.
R.I. Gen. Laws § 8-8.2-10