supreme court of canada the supreme court rules that an online police investigation targeting people searching for sex with children was not entrapment. 'project raphael' was an online investigation conducted by the york regional police in ontario between 2014 and 2017. it targeted people searching online who wanted to pay to have sex with girls and boys. it involved police placing fake advertisements on the escort sub-section of a website called backpagecom people who engaged with these ads were led to text message conversations between a supposed 18-year-old sex worker, who was actually an undercover police officer. once the prospective client and the undercover officer agreed to a sexual transaction, the officer would then reveal that they were too young for sex work. every client who agreed to continue with the transaction and showed up to the designated hotel room, was arrested. project raphael led to the arrest of 104 men, including corey ramelson. mr. ramelson was charged with three offences: (1) telecommunicating with a person he believed was under the age of 16, for the purpose of inviting sexual touching; (2) communicating to obtain sexual services for consideration from a person under the age of 18; and (3) telecommunicating to make arrangements to commit sexual offences against a person he believed was under the age of 16. a trial was held and mr. ramelson was convicted of all three offences but he applied to have the proceedings against him stopped, alleging that he was the victim of police entrapment. mr. ramelson argued officers had offered him the opportunity to commit a crime. to avoid an operation being considered entrapment, a police investigation must be a 'bona fide inquiry'. in this case, it meant that police must have had reasonable suspicions that a crime was being committed in the escorts section of the backpage.com website. the ontario superior court of justice initially dismissed mr. ramelson's entrapment application in november 2019. however, after the supreme court of canada's may 2020 ruling in r v ahmad, the ontario court invited the parties to make additional submissions and ultimately revised its decision, finding that police had entrapped mr. ramelson. the ahmad decision had reviewed what could be considered a bona fide inquiry in virtual spaces. in light of that judgment, the ontario superior court concluded that project raphael was not a bona fide inquiry because the classified ads website was too broad a space to support a reasonable suspicion. the crown appealed that decision to ontario's court of appeal, which allowed the appeal. mr. ramelson then appealed to the supreme court of canada. the supreme court has dismissed the appeal. members of the court heard this case together with r v jaffer, r v haniffa and r v dare, and the judgments are being rendered at the same time. those cases also involved individuals claiming they were entrapped as a result of project raphael, and their appeals have also been dismissed. mr. ramelson was not entrapped. writing for a unanimous court, justice andromache karakatsanis said project raphael was a bona fide inquiry because 'police had reasonable suspicion in a space defined with sufficient precision'. the space was the particular type of ads within the york region escort subdirectory of backpage.com that emphasized the sex worker's youth. she also said that the offences police provided the opportunity to commit 'were rationally connected and proportionate' to the offences they suspected were occurring in that space. to determine whether an investigation, conducted on broad virtual spaces, such as the internet, is precisely defined, courts must look at the space's function, its interactivity and the sub-spaces embedded into the broader virtual space. justice karakatsanis said the entrapment doctrine strives to balance competing interests: the rule of law and the need to protect an individual's privacy interests and personal freedom from state overreach, with the state's interest in investigating and prosecuting crime. requiring police investigations to pass the bona fide inquiry test, helps to ensure that balance.