European Union leaders agreed on the appointment of Spanish central banker Pablo Hernández de Cos as the next president of the European Central Bank.