No, it was not integrity that made him fulfill his promise after putting it off several times following accession to the prime ministership; it was public pressure. He, as a “liberal conservative” (his own words, hence a Red Tory who rammed “gay marriage” down his country’s throat), would have been satisfied with finding means to put it off indefinitely; he even campaigned for a “remain” vote.
Another damned snowflake.