British MPs have approved an amendment from the opposition Labour party which aims to strengthen measures designed to try and stop Parliament being suspended to force through a no-deal Brexit.
Hilary Benn's amendment was approved by 315 votes to 274, majority 41.
Digital minister Margot James was among those voting against the Government, independent MP Nick Boles said.
Mr Boles said he was "proud" to accompany the minister and Conservative MPs Steve Brine, Richard Harrington and Alistair Burt "through the Aye lobby".
"Heroes all of them," he said.
Shadow Brexit Secretary Keir Starmer tweeted: "For Boris Johnson to try to shut down Parliament to force through a destructive 'no deal' Brexit would be a constitutional outrage. Now it would also be unlawful. A huge victory."
Tory former minister Alistair Burt said: "The implications of every decision taken by the United Kingdom in relation to Brexit is obviously highly significant both for Northern Ireland and the Republic of Ireland.
"For us to be in the run-up to October 31 without those considerations being in front of the House seems to me to be genuinely very difficult."
Mr Burt said the idea that the House might not even be sitting during the run-up to the Brexit deadline would put huge pressure on MPs.
He said: "If we felt under the weight of any pressure up until now, I would venture to suggest to the House it will be as of nothing in the days leading up to October 31 if it is not clear where the country is going, either because a deal has been agreed or because the consequences of no-deal have been sufficiently spelt out that everybody has been able to take a view.
"And that we would not be here in order to reflect those concerns and take our own view on what those circumstances might be seems to me to be not only highly unlikely, undesirable and, actually, preventable."