Estenes, Gilliermo, Consul at Tetuan