France’s constitutional high court upheld legislation on Friday that grants same-sex couples the right to marry and adopt children, clearing the legal text for passage into law by President François Hollande, who said he would do so on Saturday.

The leftist majorities in both houses of Parliament passed the legislation last month amid mass demonstrations by opponents of same-sex marriage and an acrimonious political debate.