As the article says, todays vote on it was between representatives of the member state governments, who clearly have been given their voting mandate from their respective elected government. Which is how the majority of EU law is created: The EC proposes, and member state representatives and/or MEPs vote on it.