This is known as the Stare decisis. This is the basis for the doctrine of the precedent in which the previous court cases and their decisions serve as the basis for the future ones. Stare decisis means to stand by the things decided and the courts issue it when there is a known case and a known ruling for the issue in question.