The idea that it's better to have a hard border with 500m people rather than with 50m is just bizarre.
The Scottish Government are well aware of the need for greatly increased container facilities on the east coast. They've had feasibility studies on the go for sometime. From what I've heard the preference is for the south shore of the Forth, (sorry, Methil) either to the west or east of Edinburgh.