On 23 January 1975, Prime Minister Harold Wilson told the House of Commons that ministers who disagreed with the government’s recommendation in the coming referendum on membership of the European Economic Community would “be free to support and speak in favour of a different conclusion in the referendum campaign.” The freedom “did not extend to parliamentary proceedings and official business.”
In 2016, David Cameron allowed the same freedom on “the question of whether we should remain in the EU or leave.” The Institute for Government notes: “Formal agreements to differ have been rare.”