Disobedience of a subpoena or a refusal to be sworn, to answer as a witness, or to subscribe a deposition, when lawfully ordered, shall be a Class V misdemeanor.