Sea birds seen at Nairn, Highlands, Scotland

Apologies for the poor quality of this picture, but can anyone identify these birds, please? It's not clear, but they had orange legs and were smaller than the oystercatchers also seen nearby. Thank you.