Even though a law may be on the books, it may not always be good law.
Let me give you an example. On my constitutional law blog I wrote about a Washington State law which bans flag desecration. See RCW 9.86.030. The law basically criminalizes any act which will put any flag into disrepute. And yes it does criminalize flag desecration, the penalty is a gross misdemeanor and the statute is located in Title 9 – Crimes and Punishment of the Revised Code of Washington.