The agreement ultimately brought together court labor unions, judges, lawyer groups and lawmakers.