Brussels' bid to stop capitals tightening environmental rules is on shaky legal ground, EU law expert argues