Under Spanish law, someone who’s married gets automatic paid bereavement time off to go to the funerals of relatives up to second-degree, whether they be by blood or in-laws.
In Navarra and Euskadi it is traditional to grant the same courtesy to engaged couples; because of the weight of Tradition in our special legal system (1), this means that if you’re living with someone and your employer refuses to give you bereavement time that would be due to someone married, you can legally kick up a fuss and get compensation.
But I know people in other regions who weren’t allowed two hours off to go to a parent-in-law funeral’s because they weren’t married, therefore the written law did not grant them that time off, and their employers were gits: they had no recourse. Now with SSM, this second situation can happen to couples of any gender combination who “don’t have papers,” but if you’re married you’re married, whatever the gender combination.
1: Foral Law. Navarra’s laws didn’t get written down until the XIII century, when we changed dynasties and the imported king almost had a heart attack hearing that the only things written down were foundational papers of towns (normally, granting them temporary tax exemptions so people would move there). He called Parliament and proposed that writing “how things are done” on paper could be helpful both for immigrants like himself and for when you get a case that’s very unusual, you can look it up and see if something like that happened before and how it’s normally been solved, rather than have to chase down a Wise Man who remembers having heard about a similar case. So basically, in Navarra Tradition comes before Law and any Law that doesn’t have a link to Tradition is kind of suspect.