The result left Prime Minister Theresa May to fight another day as she tries to take Britain out of the bloc while retaining support from pro-EU and pro-Brexit wings of her Conservative Party.
In other words, in the event of a divorce deal that the Commons refused to accept, MPs would be able to set a new course for Brexit.
Addressing Conservative backbenchers in Westminster on Monday evening, the Prime Minister warned if a series of Lords amendments to the EU Withdrawal Bill are approved by MPs, it will send the wrong message to Brussels.
The amendment would effectively give MPs the power to prevent the United Kingdom from opting to crash out of the European Union without a Brexit deal and is a major victory for Remain-supporting MPs in parliament. If the government fails to pass the bill as it is, it will be forced to change what it asks for in negotiations with the European Union -undermining May's position and possibly threatening her job as Prime Minister.
In a tense afternoon in parliament, Remain MPs said they had received death threats and brandished a copy of the Daily Express newspaper, which ran a headline saying: "Ignore the will of the people at your peril".
It is expected that Tuesday will see MPs decide whether Parliament should have the power to set the Government's negotiating goals if Theresa May's deal with Brussels is voted down. He said that while he was sad to leave the government, he believed many big changes were needed to make the U.K.'s exit a success.
The United Kingdom is now part of the European Union single market but if London leaves it after Brexit, Britain will have to negotiate new trade deals with its partners, including the United States. "But where amendments have been made that seek to or inadvertently undermine the essential goal of the bill to provide a smooth and orderly exit, or undermine the referendum result, we must reject them".
The solicitor general, Robert Buckland, said after the meeting: "We all hang together or we will hang separately".
He offered to use the proposal as the basis of discussions "in good faith" before the bill returned to the Lords, in exchange for support for the government on Tuesday.
"A vote between bad and worse is not a meaningful vote".
In the tense atmosphere where it was not clear which way the vote would go, the government secured its victory only after offering concessions to one of the leaders of a group of Conservative lawmakers who were threatening to vote against May. But a government official said they had just agreed to open talks on the basis of the rebel amendment. However, it is understood that she had concerns over the Lords amendment on the table.