I encountered a strange fact. On the map, Necropolis took a village near a river where a shipyard had been built. However, I couldn't build a ship there. It says that a 2nd ship cannot be built, even though there wasn't a single ship nearby—in fact, there were no ships on the map at all. I still couldn't build it and had to use Dimension Door. I was just playing for fun, but I wonder why this failure with the ship happened. Usually, you can build plenty of ships at a shipyard.
While drawing the map, I accidentally found the answer to the question. Sometimes (depending on the specific relative position of the castle and the water area), the ship is built not in the water, but on land. Accordingly, the ship cannot sail! If you occupy such a cell with a hero or an obstacle, then the message appears that another ship cannot be built.