By Sarah Hajibagheri, at the Supreme Court
Loud applause erupted in court, followed by tears of joy and warm embraces among the For Women in Scotland campaigners as the judges left the room.
The outpouring of emotion, group hugs, cheers and tear-stained smiles were in stark contrast to the austere portraits of men in uniform that adorn the dark wood panelled Court 1 of the Supreme Court.
The packed room had been warned at the start of proceedings that, despite the "strength of feeling on all sides", everyone was to respectfully listen to proceedings as "some people will be pleased, others will be disappointed" by what was to be said.
Everyone complied.
But there was an audible collective inhale of breath by those gathered inside when Lord Hodge announced the "unanimous decision" that "woman" and "sex" in the Equality Act 2010 referred to "a biological woman".
He cautioned against "seeing this as a victory for one side or the other" but the beaming faces of the women sat below the stained-glass windows at court suggested they felt vindicated.
Seats on the carved wooden pews were ticketed and highly sought.
The media benches were full, but no laptops were allowed inside and those that didn't make it in were in an overspill room.
In a nuanced hand down, Lord Hodge said: "We counsel against reading this judgement as a triumph of one or more groups in our society at the expense of another. It is not."
But as those inside Court 1 spilled out to meet with fellow supporters - the cheering and singing began.
Their appeal had been successful, and this was being celebrated as a win for them.