EU country protects democracy by banning candidate from running for president