Commonwealth countries have extraterritorial jurisdiction. I don't know that it's ever been enforced for something so relatively petty as intoxication or prostitution, but it is nevertheless the law. (Obligatory IANAL though.)