In the US, when existing law doesn't determine what will happen in a particular case, a judge uses his or her judgment, and creates new law. Since most judges aren't idiots, they aren't going to be tricked by this sort of scheme.
Edit: I don't even think this would require new law. You presumably don't get to claim you don't possess the contents of a safe because you wrote the combination down in code or backwards or something.