He specifically said he wanted to uncover the mystery *for* justice and not to save his own ass lmao.
He was also framed for murder and you need to weigh all of your options in a situation like this.
If you want to see him as an asshole you can, but I think he's been put through enough shit to warrant a temper and a bit of a snap here and there.