As for marrying a woodpecker, despite the fact that the United States has its share of unusual and outdated laws, it has never been legal in the United States, or anywhere else, to marry a woodpecker or any other animal. It is purely fictional and used for comedic effect. It plays on the absurdity of old, outdated laws or traditions, but it's entirely made up for the purpose of humor. The idea is meant to be ridiculous, highlighting the quirky and strange nature of the town and its history.