VE, I see no mention of Article 50 or Brexit by the coury in the link from the BBC.
The statement from the Court of Session says,
"The inner house of the court of session has ruled that the prime minister’s advice to HM the Queen that the United Kingdom parliament should be prorogued from a day between 9 and 12 September until 14 October was unlawful because it had the purpose of stymying parliament.
All three first division judges have decided that the PM’s advice to the HM the Queen is justiciable, that it was motivated by the improper purpose of stymying parliament and that it, and what has followed from it, is unlawful.
The court will accordingly make an order declaring that the prime minister’s advice to HM the Queen and the prorogation which followed thereon was unlawful and is thus null and of no effect."