The European Parliament approves legislation agreed with member states, which requires new general limits to be in place by 2020.