That's not how the EU works. The legal agenda is set by the council, drafted by the commission and voted on by parliament. Its exactly the same as the government setting the agenda, the civil service drafting legislation and parliament voting on any new law.
We don't elect our civil service yet it is respected as being non partisan and up there with the very best.