A contract or contractual provision, if capable of segregation, which provides for the choice of a foreign law, legal code or system to govern some or all of the disputes between the parties adjudicated by a court of law or by an arbitration panel arising from the contract mutually agreed upon shall violate the public policy of this state and be void and unenforceable if the foreign law, legal code or system chosen includes or incorporates any substantive or procedural law, as applied to the dispute at issue, that would not grant the parties the same fundamental liberties, rights and privileges granted under the United States and Kansas constitutions, including, but not limited to, equal protection, due process, free exercise of religion, freedom of speech or press, and any right of privacy or marriage.
K.S.A. 60-5104