Court agrees TV star's civil partnership 'divorce'