What do you think the role of the courts should be in Canada?
The role of the courts is to rule on matters of law. But they have digressed to the point that they will rule on matters of morality, equality, anthropology, etc., ( as it suits them). Prostitution is legal, the communication for the pupose thereof is not. This is not a matter of anything else but commerce. The Courts had no jurisdiction in matters of commerce, but that didn't stop them breaking new ground ruling in just such a matter in Morgantaler v. Canada, (A.G.), where Henry Morgantaler petitioned the courts to make a case in favour of a Constitutional right for abortion on demand, his "for profit" abortion clinics being the major benefitiary, and the taxpayer bankrolling it.
The government has the right to control commercial ventures, and they do. I cannot sell hot dogs on the street, I cannot sell lobsters from the back of my truck. Of course the argument would be that I can get a license to do so, but they are prohibitively expensive. But with a license comes government control, because they have taken on the responsibility, by licensing and through regulation, to protect the public, (not me), from the unscrupulous.
The argument that legalizing the sale of of sex will somehow make the activity safer is simply nonesense. It will be no less risky, given that the clientele will not change. The prostitutes who find themselves in trouble are not the dominatrixes or blue chip madams you see at the courthouses, but the steet level hookers being picked up steet level reprobates, that is not going to change.
Never mind the moral issue that in the government's, (or the courts) allowing the trade in what in many cases will be adultery, (something most cultures find abhorrent), it will also have to shoulder a great responsibility. If it is to be regulated, there will have to be millions of dollars set aside for liability claims. A third party could conceivably claim damages from infections or other hardships caused by no fault of their own, as happens in the food industry, only with far greater risk.
If it happens that prostitutes can ply their wares without regulation or licensing, so it goes that I should be also able to likewise sell my wares on street corners, be it hot dogs or fire wood.
Again, this is a matter of commerce, not freedom of expression, which they can give away for free, legally.