How does the principle of stare decisis affect decisions made by the Supreme Court?

A. It allows justices to consider public opinion when delivering a decision.

B. It allows justices to deliver decisions based upon personal beliefs and opinions.

C. It guides justices to avoid hearing cases with political ramifications.

D. It guides justices to follow precedent when deciding cases.