Applying the mischief rule, an offence had been committed: the intent of the act was to stop prostitutes soliciting the public and to protect them from it. As a result, the public can still see and be seen by the prostitutes so they are still exposed to it.