The Conservative former PM, who was ennobled as Lord Cameron by Rishi Sunak and served as his foreign secretary, had previously opposed moves to change the law.