sentences:  The Penal Code was amended in 2007 to equalize the age of consent and to criminalize domestic violence in same-sex relationships, thus equalizing treatment with opposite-sex couples.Since 2016, Portuguese law has allowed adoption of children by same-sex couples.Prior to that reform, same-sex couples were barred from adopting and informally forbidden from fostering children, although there had been several court rulings allowing children to live with same-sex families.