Rulers who trade build ports
Where the ruling family itself goes into trade, instead of looking down on it and leaving it to a merchant caste, a small kingdom can build ports, shipyards and sea routes. The rise of a port is then a joint project of rulers, their officials and the merchants, not of merchants working alone.