Clients referred from the court for drug treatment are typically referred because they are being given a chance to receive treatment rather than face jail time, other charges, fines, etc. While this is most common among first time offenders, it can be offered at any point such as while the person is being held in jail. There are various types of rehab programs that criminal justice clients may be referred to, and this all depends on which programs are attainable in Loda and the type of issues they'll need treatment for.
There are programs that work primarily with the criminal justice court system to treat this explicit type of clientele, and are typically state funded or are offered at little or no cost to the client. There are also private drug recovery programs that can be approved by the court if there is a specific type of rehab that the person requires or prefers that a state-funded facility can't provide. The defendant's legal representation can request such alternatives to the judge for permission. There are even drug rehab programs that provide services from the correctional facilities themselves, in which case clients are typically in a better position for reduced sentences or other leniencies when enrolling in addiction treatment services while serving their sentence for a drug offense or a DUI/DWI.