I'm not sure if there is a precendent on that.
Laws aimed at preventing prostitution are messed up for the most part anyway. They never stop prostitution and mostly don't reduce it. They just fuck people up.
In any case laws are fishy in defining prostitution, you could always ask a prostitute for a massage, and if that in turn leads to sex - well you 'paid' for the massage.