Left-wing MEPs have tabled a motion asking the EU Court of Justice to rule on whether the deal complies with EU law