The Israel High Court ruled last Wednesday that the Interior Ministry cannot refuse to put an adoptive parent’s name on a birth certificate because of their gender.

This comes after the Ministry refused to put two gay men’s names on their son’s birth certificate. The couple appealed the decision to the court through LGBT advocacy task force, The Aguda, according to the Times of Israel.

The judges ruled unanimously that the decision would not only hurt the parents, but the child. Simple legal decisions would be harder to make by not having both parents listed. 

“We’re happy that the court reminded the Interior Ministry of something that should have been self-evident — that parents are parents, no matter their sex, sexual orientation or gender,” the couple’s attorneys, Hagai Kalai and Daniella Yaakobi, said, according to the Times of Israel.