EU court rules the United Kingdom can revoke Brexit