Handling contested divorces in court