I think he went along with it because Cersei had made a public accusation, because he hated his son, and because someone had to be punished for regicide.
Just a backup in advance of the detumblring
I think he went along with it because Cersei had made a public accusation, because he hated his son, and because someone had to be punished for regicide.