Every person who, either solely or as member of a Court, knowingly and unlawfully recommits, imprisons, or restrains of his liberty, for the same cause, any person who has been discharged upon a writ of habeas corpus, is guilty of a misdemeanor.
Ca. Pen. Code § 363