Treatment clients referred from the court for drug or alcohol rehabilitation are typically referred because they are being given a chance to receive treatment rather than face jail time, other charges, fines, etc. Although this is most common among first time offenders, it can happen at any point including while the person is being held in jail. There are different types of programs that criminal justice clients can be referred to, and it usually depends on which programs are available in Hay and the type of drug or alcohol the person requires treatment for.
There are programs that work primarily with the criminal justice court system to treat this specific group of clientele, and are usually publicly-funded or are available at no cost or very little cost to the client. There are also private drug rehab centers that can be authorized by the court if there is a specific type of rehabilitation that the client requires or wants that a state-funded facility can't provide. The client's attorney can push for such alternatives to the judge for approval. There are even drug rehabilitation centers that operate out of the jails and prisons themselves, where clients are typically in a better position for reduced sentences or other benefits when participating in drug and alcohol rehab services while serving their time for a drug offense or a DUI/DWI.