The only problem with what you suggest is that the penalties would likely thwart a lot of voluntary recantations. (That doesn’t apply in this case, where the police proved she was lying.)