There is a law; it's perjury. But it isn't enforced, so ... it might as well not exist.