You don`t need to be caught "red handed", as the law states agarda with reasonable grounds to suspect you were purchasing sexual favours can arrest and charge you.
In real terms,and as unconstitutional as it gets in my opinion, it will be up to you to prove you aren`t guilty.