A federal appeals court yesterday overturned the conviction of a U.S. Capitol Police officer who pulled a practical joke about anthrax during the 2001 poison scare in Washington, perhaps clearing the way for the veteran officer to return to the force.