Additional facts would be helpful here.  Generally speaking, California Penal Code (PC) Section 2910 allows the California Department of Correction and Rehabilitation (CDCR) to enter into agreements with a city, county, or city and county to house State inmates in a jail or other adult correctional facility with the consent of the sheriff or corresponding official having jurisdiction over the facility.  If the person housed is a parolee who has violated a local law, the Division of Adult Parole Operations is notified and given the opportunity to place a PC Section 3056 hold. The hold establishes that the parolee shall remain under the legal custody of CDCR and subject at any time to return to State custody. Please ask for an attorney.  Good luck.