Anyons and transmutation of statistics via a vacuum-induced Berry phase