A court may rule that a law violates substantive due process if it infringes on fundamental rights such as the rights to privacy, liberty, and personal autonomy without a legitimate government interest. The law must also be found to be arbitrary, unreasonable, or oppressive in order to be considered a violation of substantive due process.