Laws and courts are socialism?😂 Law is the foundation of capitalism. Courts are the arbiters of the law. Laws are created by legislatures. The notion of having a court and having a government is inseparable. The law is the governing authority.