It has until 2030 to roll out points for ships to plug into the electricity grid, if it is to meet an EU deadline.