Is that so? Quote this "law".
If what you say is true, state governments have been "living in sin" since the founding and before.
There are many laws that have been on the books that have never been challenged. My point is that when this law is challenged, it will fall. I see it as open and shut.