▁before ▁the ▁de ed ▁is ▁done . ▁Until ▁the ▁Scottish ▁Government ▁did ▁so ▁in ▁late ▁ 2 0 1 8 , ▁the ▁issue ▁had ▁been ▁un test ed ▁in ▁court . ▁On ▁ 1 0 ▁December ▁ 2 0 1 8 , ▁the ▁European ▁Court ▁of ▁Justice ▁ruled ▁that ▁it ▁would ▁be ▁“ in cons istent ▁with ▁the ▁EU ▁treat ies ’ ▁purpose ▁of ▁creating ▁an ▁ever ▁closer ▁union ▁among ▁the ▁pe op les ▁of ▁Europe ▁to ▁force ▁the ▁withdraw al ▁of ▁a ▁member ▁state ” ▁against ▁its ▁wishes , ▁and ▁that ▁consequ ently ▁an ▁Article ▁ 5 0 ▁notification ▁may ▁be ▁rev oked ▁un il ater ally ▁by ▁the ▁not ifying ▁member ▁without ▁the ▁permission ▁of ▁the ▁other ▁EU ▁members , ▁provided ▁the ▁state ▁has ▁not ▁already ▁left ▁the ▁EU , ▁and ▁provided ▁the ▁rev ocation ▁is ▁decided ▁“ follow ing ▁a ▁dem ocr atic ▁process ▁in ▁accord ance ▁with ▁national ▁constitution al ▁requirements ”. ▁ ▁The ▁European ▁Parliament ▁resolution ▁of ▁ 5 ▁April ▁ 2 0 1 7 ▁( on ▁negoti ations ▁with ▁the ▁United ▁Kingdom ▁following ▁its ▁notification ▁that ▁it ▁int ends ▁to ▁withdraw ▁from ▁the ▁European ▁Union ) ▁states , ▁" a ▁rev ocation ▁of ▁notification ▁needs ▁to ▁be ▁subject ▁to ▁conditions ▁set ▁by ▁all ▁EU - 2 7 , ▁so ▁that ▁it ▁cannot ▁be ▁used ▁as ▁a ▁proced ural ▁device ▁or ▁ab used ▁in ▁an ▁attempt ▁to ▁improve ▁on ▁the ▁current ▁terms ▁of ▁the ▁United ▁Kingdom ’ s ▁membership ." ▁The ▁European ▁Union ▁Policy ▁Department ▁for ▁Cit iz