The Spanish government said Thursday that Ante Gotovina , a top war crimes suspect from Croatia who was indicted four years ago by the international tribunal in The Hague , had been arrested in the Canary Islands , removing a potential obstacle to Croatia 's efforts to join the European Union .