I mean despite them saying otherwise I’d just assume the emperor is evil like every other mindflayer the whole time. Still doesn’t make complete sense but that’s the only logical conclusion based on what we know about ceramorphosis