A vote of no confidence in the government aimed at replacing Boris Johnson as prime minister could be held next week, a senior SNP MP has said.
Stewart Hosie told the BBC such a move may be the only way of avoiding a no-deal Brexit on 31 October.
SNP leader Nicola Sturgeon hinted on Friday she might back Jeremy Corbyn becoming a “caretaker” prime minister.
The Liberal Democrats have, however, said the Labour leader is too divisive a figure to play such a role.
Mr Corbyn said on Saturday recent talks with opposition parties had been “productive” and the prospect of an emergency government was becoming “more likely every day”.
Mr Hosie said there was growing concern that Mr Johnson may find a way of circumventing the so-called “Benn Bill” which requires him to seek an extension to the UK’s departure date if no deal has been agreed.
The aim of a no-confidence vote would be to install an interim prime minister who would secure a short Brexit delay and then call a general election.
“We have to do that because there is now no confidence that the prime minister will obey the law and seek the extension that Parliament voted for only a few weeks ago,” he told the Today programme.
“It we are serious about the extension that is the only game in town.”
In a separate interview on BBC Radio Scotland, he suggested a vote could take place as early as Monday or Tuesday.
Mr Hosie, a former SNP deputy leader, acknowledged that such a plan would need the agreement of opposition parties and Tory rebels in order to succeed.
Liberal Democrat leader Jo Swinson has said an “emergency government” may be necessary but argued that MPs from all parties would not be able to unite around Mr Corbyn as a temporary leader.
She said her party had suggested other MPs as possibilities, including senior MPs who are planning to step down at the next election.
Mr Hosie said: “If another name came forward that was acceptable to everybody, a Ken Clarke or Dominic Grieve-type figure, then self-evidently that would be a good thing to do.
“But it is also self-evidently the case that the second largest party (Labour) should have the first chance to form that administration.
“If Jo Swinson and the Lib Dems are actually serious about their stopping Brexit position then they need to stop playing political games, get on board with everybody else.”
Pre-agreed plan
A motion of no confidence in Parliament allows MPs to hold a vote on whether they want the government to continue.
If the government loses the vote, MPs have 14 days to express their support for an alternative government.
If an alternative government cannot command a majority in the House of Commons in that time, a general election could be held.
Mr Hosie stressed it was vital that opposition parties had a plan in place to secure a Brexit extension before triggering a no-confidence vote.
“If that is not in place and effectively pre-agreed, then we might end up having the general election on Boris Johnson’s terms and allowing him to run down the clock and crash out without a deal.”
Jeremy Corbyn said he had a “productive meeting” with other opposition parties on Thursday and said their priority was preventing a no-deal Brexit.
Asked if he was ready to be an interim prime minister he said: “Absolutely. The normal process is that when a government collapses the leader of the opposition is invited to form a minority government in order to carry through a specific and strictly limited process which would be to ensure no crash out and to prepare for a general election.
“It’s getting more likely every single day because this government is collapsing. It’s now lost all seven votes since Boris Johnson became prime minister and this Tory government has been defeated over 45 times in parliament.”