Of course democracy is being protected, when it is clear such a party is being actively used and supported by foreign actors which have no right to vote in the affected country. People are being manipulated. The law comes first, then, people can choose. It's why a judicial branch exists.
An agent writes 99% of the code. Then I fix some parts, re-arrange things, usually takes a few prompts. Then, there's code review, more changes, etc. But I hardly write code nowadays compared to a few years ago.