Keep it in the closet and there is no problem
Wrong. The situation that ultimately brought sodomy laws before the USSC was people caught in the act of sodomy when the police executed a warrant on an unrelated matter. And for that matter, nothing prevents authorities from seeking a search warrant on the basis of probable cause to suspect violation of sodomy laws.
Again, do you favor or oppose sodomy laws?
From what I heard recently it sounds like a set up to bring the police into the appartment where two homosexuals were engaged in sodomy.