This is misleading. None of them are legally enforceable. They simply haven’t been struck from the books because it would be entirely performative.
https://en.wikipedia.org/wiki/Lawrence_v._Texas