In criminal matters, the closest parallel to a settlement is a plea bargain, although this differs in several important respects, particularly the ability of the presiding judge to reject the terms of a settlement.