The prime minister of spain is shaking hands with other politicians and officials at an event.