Entrapment Laws in NSW
In the US police officers are not allowed to entice private citizens to commit crimes. It is illegal.
in NSW these laws do not exist. It is entirely lawful for an undercover police officer to coerse you into doing a drug deal and then use the evidence in court to prosecute you.