Of their many duties, the police are there to enforce the law – not to interpret the law with regards to a judgement of you and the circumstance you may be in.
Depending on the circumstances, you may be arrested, even if you are innocent. But here’s the thing… when a LEO reads you your Miranda rights, take them seriously. Tell them that you’re taking ‘the fifth’ (the 5th Amendment to the Constitution) to avoid self-incrimination and you want an attorney, and then keep quiet until you have an attorney – even if you’re innocent!
The ‘Miranda warning’ wording varies, but here it is:
“You have the right to remain silent. Anything you say can and will be used against you in a court of law. You have a right to an attorney. If you cannot afford an attorney, one will be appointed for you.”