An ex-Royal Navy officer’s converted warship has been seized by Spain amid fears he is a mercenary planning to fight pirates in Somalia.