Two days ago in NYC my friend was fixing his car near a bodyshop when a guy appeared and offered to sell him European Style lights. After my friend has purchased the lights the police arrested him. The same guy who sold him the lights turned out to be an undercover detective. He was taken to the nearest precinct where he was questioned, the cops didn't allow him to make a phone call let alone presented him with a lawyer. He spent the night in that same precinct. Is this a clear case of Entrapment and are they allowed to do this?