Although Haughey did not have an overall majority when it came to a vote the Independent Socialist TD Tony Gregory voted against Fitzgerald but abstained on Haughey , seeing Haughey as the `` lesser of two evils '' ( the reason for this was Gregory 's personal Republican convictions and his opposition to the Anglo-Irish agreement ) . Although Haughey did not have an overall majority when it came to a vote the Independent Socialist TD Tony Gregory abstained , seeing Haughey as the `` lesser of two evils '' ( the reason for this was Gregory 's personal Republican convictions and his opposition to the Anglo-Irish agreement ) .