Every person who, for the purpose of serving in any county or city jail, industrial farm or road camp, or other local correctional institution any part or all of the sentence of another person, or any part or all of a term of confinement that is required to be served by another person as a condition of probation, represents to any public officer or employee that he is such other person, is guilty of a misdemeanor.
Ca. Pen. Code § 148.7