No person shall be entitled to vote or to give a written consent with respect to any security acquired in contravention of any provision of this chapter or of any regulation or order of the commissioner issued pursuant to this chapter for a period of three years after such acquisition. If a security of a bank or a controlling person is acquired in contravention of this chapter or any such regulation or order, such bank, such controlling person, any shareholder of such bank or such controlling person, or the commissioner may apply to the superior court for equitable relief, including costs and (except with respect to the commissioner) attorney fees, to enjoin prospectively any person from voting or giving any written consent with respect to such security for a period of three years after such acquisition, and the commissioner may apply to the superior court for equitable relief, including costs, to void any voting or any giving of a written consent with respect to such security which has occurred since such acquisition.
Ca. Fin. Code § 1262