He was member in parliament for the shire when James II of England was commissioner for Scotland and though he was much caressed by James who desired to reconcile Brolas to his celebrated measures for abrogating the penal statutes but refusing to vote against what he believed to be his duty he absented himself from parliament when those measures were being discussed .