What diplomacy effect do I receive when liberating the last city of a different civ?

well,logically that would mean you will both get a warmonger penalty and lose some of it.I really believe that the warmonger penalty would be higher,though,so do it at your own risk.