In some countries in Europe the police are not allowed to do reverse stings. In the USA they are allowed to and they are fairly common at that. DEA agents have full exception from controlled substance act. They are allowed to purchase, use and sell all controlled substances, in an undercover capacity.