Any person who, when any property has been attached or taken under the process or authority of any court of justice, knowingly, and with intent to hinder or defeat the attachment, or process, receives, removes, retains, conceals, or disposes of, such property, is guilty of a misdemeanour, and is liable to imprisonment for 3 years.