The formal legal process of dissolving a civil partnership by the court.