>>thauma+(OP)
You make an excellent point. When I was in jail there were many people who were charged only with obstruction of justice or resisting arrest. Often what would happen is law enforcement would try to arrest someone or search their property and the suspect would interfere with the process. Later, whatever caused the police to take action in the first place was nullified, either by reason of being illegal or having no factual basis, but the suspect was now still in jail for potentially years based on their (possibly) rightful action in trying to stop the police from whatever they were not supposed to be doing.
Sometimes it can just be a lose/lose scenario once you come to the attention of law enforcement. If at all possible, never put yourself in a situation, or associate with those who are going to bring heat upon you from the police.