California Code ARTICLE 2 - Primary Elections: Contests Other than Recount Section 16620.
16620. The court shall meet at the time and place designated in the order setting the contest for trial, and shall have all powers necessary to determine the issues.