Spanish lawyer bags top EC competition role