A. Mitchell Polinsky & Steven Shavell, Legal Error, Litigation, and the Incentive to Obey the Law, 5 J.L. Econ. & Org. 99 (1989).