EU warns US over sanctions against Iran and Libya