BTDT. Called PD, got arrested. Remaining calm and polite helps.
Saw what happened to females in jail who got hysterical. Males were allowed inside female cells to restrain them and help remove articles of clothing that were deemed potentially dangerous (belts, shoes, jewelry, etc.).
Strip-searching was done only by females, though.
Being hostile, verbally or physically, to the jail staff usually resulted in a beat-down from both males and females.