If they knew you were going to commit the crime they could simply prevent the crime. No need for jail, just a small fine for the police having to intervene. Of course since the future isn't set in stone (or so I assume) it's impossible to know the crime will happen for certain.