https://www.businessinsider.nl/uk-supreme-court-article-50-n...
And I note that it requires unanimous agreement between all the other member states, which is a very rare thing. So a very thin maybe.