The Netherlands recently had to free nine Somali suspected pirates detained in the Gulf of Aden by Dutch marines under NATO command because no legal framework existed within the military alliance to carry out arrests.