Thanks for your replies, Pia and Mike.
Mike, the eggs do look like those of Saturnia pyri but are on the stems, not the leaves.
I removed the ones I could see but have now discovered that the tree is covered in black scale insects, which seem to be farmed by ants. Do you think the white eggs (?) might be related to the scale insect?
Alisdair, I think this thread should now be moved to "Pests and Diseases".