It wasn't simple contempt of court. It was criminal contempt. You can wave the "defense of liberty" flag, but violating constitutional rights in the name of policing is still a Federal crime. Criminal pursuit of anything is still criminal.