(1) The Commission may, by leave of the Court of Disputed Returns—
(a) enter an appearance in a proceeding in which the validity of an election is disputed; and
(b) be represented and heard at the proceeding.
(2) If leave is granted under subsection (1), the Commission is to be taken to be a party respondent to the petition.