Stupid law is stupid.
Unfortunately that argument would probably never succeed in court.
However this would be a good time for someone to go in front of the town council to say "your law is written really badly, I recommended you change a few things. For instance not all constricting snakes are dangerous and not all venomous snakes are poisonous." Who knows. Maybe if someone approaches the right board member, the law will get changed and balls & corns will be legalized again.
Local animal laws are infamous for not being well written. Usually a town council simply enacts a law identical to one that already exists in a neighboring town so all it takes is for one town to use a stupid phrase like "constricting snakes" and the citizen's rights fall like dominos in town after town after town. This is why constrictors are illegal in most cities & suburbs in eastern PA. One suburb years ago criminalized constrictors and neighboring towns slowly decided they needed an exotics law and simply copy & pasted into the law books the one from the first town. Over the years this spread and spring and now, all because of one town, constrictors are illegal in some municipalities as far away as Ohio and northern New York. To make it worse some companies pick what they consider "good local laws" and put them in pay-sites or books that they then sell to other manicipalities as reference material. These reference materials are then typically copy & pasted into town law books by politicians who are too lazy to bother with writing new laws themselves from scratch. The unnamed suburb I speak of had its exotics law chosen for publication by these reference material companies I speak of so expect this to happen in a town near you in the future.