Europe's highest court has parked an issue that might have confounded any move by a future government to withdraw from the European Convention on Human Rights (ECHR), by declaring that the EU's plan to join the convention in its own right is unlawful.