The separation of powers doctrine applies only to the federal government and not to state governments. It is good practice to include in a contract which state's law will govern disputes that arise under the contract. In deciding a case, a court will not use common law if there is a statute that applies to the dispute.
Hope This Helps You!