Ocean liners were often used in wartime as troopships; indeed, it was sometimes national policy to encourage the construction of liners in peacetime so that they could be used in the event of war to transport large numbers of troops at speeds outpacing warships and submarines [REF].
Ocean liners were also used as troopships in World War II.