Economics analysis of the court system