The official website for The Settlers of Catan

Question about Combination of “Traders & Barbarians" with "Seafarers” The Rivers of Catan + Seafarers (in general) - May I build ships on the dotted lines?

Answer

Yes, provided that you'd be allowed to build a ship there if the line didn’t exist.