Case-based reasoning in the law door