The prosecution has to go with the evidence and the facts and tell the story as it happened. The defense has more creative freedom. All you have to do is look for a defense that works. But it doesn't have to be the truth. Sometimes you get lucky and it is, but sometimes you don't, and either way, it doesn't matter.