589. Every person who knowingly violates or attempts to violate the secrecy of voting, inhibits or attempts to inhibit the freedom to vote, prevents or attempts to prevent any procedure relating to the vote, or alters or attempts to alter the results of the election or referendum, is guilty of an offence.