The official website for The Settlers of Catan

Question about The Cards Trade Ships - If it is not a player's turn, is he allowed to use his trade ships to obtain a resource he can trade with his opponent?

Answer

No. A player may trade with the bank only during his action phase. Furthermore, the possibility of trading with the opponent has been eliminated, because in a 2-player game this kind of trade is usually unfavorable for the passive player.