The nine men were captured by a German naval vessel in the Gulf of Aden in March 2009 after an attack on the German-owned freighter MV Courier .