A row over moves by Mexico to place restrictions on new renewable energy projects escalated into a full-scale diplomatic