Freedom-of-information activist wins legal fight with county