EU case law has required member states to recognise a same-sex spouse’s right of residence for free-movement purposes, even where that state doesn’t itself perform same-sex marriages.
Guide
Rights & citizenship
Same-sex couples and free movement: what EU law says
Source: EU4LGBT Resource Hub