The Czech Constitutional Court has overturned a law which banned individual gays and lesbians living in a registered partnership from adopting children.

In its ruling on Tuesday, the country’s highest legal authority said that such a ban is discriminatory because individual gays and lesbians who don’t live in the official partnership were allowed to do so.

However, the ruling still does not allow lesbian and gay pairs to adopt children as a couple. “LGBT people in the Czech Republic are still second-class citizens,” Jan Kozubik, an activist with the PROUD gay rights group, said in a statement.

Gays gained the right to civil partnerships in 2006 in the Czech Republic, a relatively liberal eastern EU country of 10.5 million, but they still do not have the right to marriage.

Nearly 60 percent of Czechs agree that gays and lesbians should have the right to adopt their partners’ children, while around 50 percent approve of gay marriage, according to a May 2015 poll by the Czech Academy of Sciences.

Dave Patterson is a content marketer. A writer by day and a reader by night. Coffee addict.