They work because people aren't used to hearing whistles. It used to be that every police officer had one, and anyone directing traffic had one. Now, the only people that routinely use them are referrees.

If you want to see how effectively they work, stand on a crowded street and blow one. <img src="/images/graemlins/smile.gif" alt="" />