The way I see it, Kefka was the emperor's confident only because they both shared a... How can I say it... A cold-heartedness? They were both power-hungry bastards, something that Leo wasn't, and that made Kefka the best candidate for being Ghestal's confident.