All citizens have the right to Entrapment. If you're arrested (By any Public Service Member) while under entrapment, complain. It will go up for review by a higher-ranking police officer. But, in order for a successful Entrapment Defense, you MUST prove these three things ((Taken from
http://www.slate.com/id/1003657/)):
1. The idea of committing the crime came from law enforcement officers, rather than the defendant.
2. The law enforcement officers induced the person to commit the crime. Courts have traditionally maintained a high burden of proof for inducement. Simply affording the defendant the opportunity to commit the crime does not constitute inducement. For inducement to be proved, officers must have used coercive or persuasive tactics.
3. The defendant was not ready and willing to commit this type of crime before being induced to do so. If an undercover cop bought cocaine from a person carrying a kilogram of the drug, the seller could not plead entrapment, even if coercion were involved in the sale, since his intent to sell was clear. Most courts also allow a defendant's predisposition to be demonstrated through prior conduct or reputation.
If successful, you will be released from jail and appropriate action will be upheld with the officer.