The documents appear to contradict the British Prime Minister's pledge to leave by the end of October "come what may".
British Prime Minister Boris Johnson will send a letter to the European Union asking for a Brexit delay if no divorce deal has been agreed by 19 October, according to government papers submitted to a Scottish court.
The papers which were presented to Scotland's highest court appear to contradict the British Prime Minister's repeated pledges to leave by the end of October "come what may".
In the submissions, the British government said that Mr Johnson accepted that he was obliged to send a letter to the EU asking for a delay and that if an extension was granted, Britain would also agree to it.
"In the event that neither of the conditions set out ... is satisfied he will send a letter in the form set out in the schedule by no later than 19 October 2019," said the document posted on Twitter by Jo Maugham, a lawyer involved in the case against Mr Johnson.
While speaking in Copenhagen, Taoiseach Leo Varadkar said he would be in favour of pushing back the deadline but would prefer a deal this month.
''It's not abundantly that there's any agreement that will secure a majority in the house of commons, but we have to work towards that and we're willing to do so,'' he said.