Legal team nails down dock privatisation deal