The judges of each district court district shall be the justices of the peace of the district elected or appointed as provided in chapters
3.30 through
3.74 RCW. Such courts shall alternately be referred to as district courts and the judges thereof as district judges.