Spanish official warns EU on Russian gas