Yes. But there is a difference between a president being elected by popular vote and a president being elected by a parliament. One of them is democratically elected. The other is not. EU citizens are not allowed to vote for the EU president.
And a parliament is not necessarily a democratically elected body, historically they weren't. The EU parliament is though.
And a parliament is not necessarily a democratically elected body, historically they weren't. The EU parliament is though.