Top European court rules in favour of cross-border social security rights