He’s definitely not just following orders, because he’s the main force who tells Dany not to follow Illyrio’s plan in Dany I of ASOS.
He knows something of their plans, but I doubt the whole of them.
And as for why, yes they can get him a pardon through the Small Council.