Activists win legal victory just as the circus comes to town