Shipping owners using European ports will have to report on the CO2 emissions of their vessels, under a new proposal approved by MEPs on Wednesday.