This is relatively tricky.
Having Kim or not has no bearing on this achievement for the trial.
From Chapters 1 to 3 you need to prevent Victoria from killing the bird and use the potion of Eternal Sleep on the guard in the mines. Those are all of the crimes.
In the trial itself you should save before you start. Your goal is to not have any of those crimes mentioned.
Choice order would be:
Option 1
Option 2
Option 1
At that point a villager will defend you and Quinn will come out. You’ve won the trial and your achievement will populate when Michael comes on screen.