It is apparently a widely held belief that if you really really don’t want to go to jail, the cops have to let you go. This belief is not shared by cops. Cops tend to believe that if they tell you that you’re are going to jail, then you’re going to jail.
The long version is at the bottom. Here is a PSA from Chris Rock: