A legal appeal to decide if Britain alone can change its mind about leaving the European Union should be given consideration by the European Court of Justice (ECJ), Scotland's highest court said on Friday in a boost to anti-Brexit campaigners.

Rounding out a week of bad news for Prime Minister Theresa May's Brexit plans, petitioners argued successfully that legal certainty about the process is needed in advance of any British parliamentary vote because no country has ever withdrawn from the European Union.

The Court of Session decision means the ECJ should say whether it is legally possible for Britain to stay in the world's biggest trading bloc if and when the U.K. parliament so decides.