(a) A write-in candidate for judicial office or a specific-purpose committee for supporting a write-in candidate for judicial office may not knowingly accept a political contribution before the candidate files a declaration of write-in candidacy.
(b) A person who violates this section is liable for a civil penalty not to exceed three times the amount of the political contributions accepted in violation of this section.