This Danish law authorizes persons of the same sex to register their partnership and be treated legally in most cases as persons in heterosexual partnerships are treated, notably with respect to marriage, divorce, succession, and social and tax laws. Nonetheless, persons in such partnerships are not treated the same as heterosexuals with respect to adoption of children and the right to obtain a religious celebration of their partnership.