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.