If this is true, it is probably still on the books. (LMAO!) We in Virginia still have the most ridiculous, antiquated laws in the criminal codes. For example, it is against the law to kiss your wife in public on Sunday. It is against the law to sell toilet paper on Sunday. Oral sex is a felony. A police officer can kill you to prevent you from killing yourself...and the list goes on.
No, I cannot cite the codes as these laws are no longer enforced, but they are still on the books somewhere. Maybe someone with time and strong Google-fu can find these and some others that are laughable and post the specific codes? It could be fun and funny!