The Supreme Court in the UK is set to hear an appeal over the Article 50 ruling
The Scottish and Welsh governments will be allowed to intervene in the court battle over how Brexit should be triggered, the UK's Supreme Court has announced.
The British High Court ruled earlier this month that Theresa May could not trigger the formal divorce process with the EU without putting the matter before MPs, a decision the government is appealing against.
Counsel for the Scottish Government will be invited by the Supreme Court - which will hear the appeal - to address the court on the relevance of points of Scots law, so far as they do not form part of the law of England and Wales.
The Independent Workers Union of Great Britain, which describes itself as "fighting for the rights and welfare of some of the most vulnerable and under-represented workers in the UK", has also been allowed to make submissions.
The Attorney General for Northern Ireland has made a reference to the court on devolution issues and did not need permission to intervene.
The legal challenge over Brexit was bought by investment fund manager and philanthropist Gina Miller and Dier Dos Santos, a hairdresser, with other "concerned citizens".
Three senior judges ruled that the prime minister does not have power to use the royal prerogative to trigger Article 50 - the formal process for leaving the EU - without the authority of Parliament.
The appeal will be heard by 11 judges between 5th and 8th of December, with a judgement expected in the new year.