several things: the head of the European comission isn't elected in a popular election, but chosen by representatives of the respective countries, and then affirmed by parliament. So that has little relevance to the actual elections of the parliament itself.
Furthermore cooperation between European countries on election security isn't just relevant when it comes to EU elections, but also when national elections are at stake.