The judgment of the Court of Justice in M.A.S. and M.B. and the principle of legality in criminal matters