If you trick it out enough, you can absolutely make a diplomacy check high enough to turn a hostile enemy into friendly, guaranteed. Now, the DM doesn't have to accept it, or they can just have the enemy kill your friends anyway, but it's pretty clearly abusable.
EDIT: Diplomacy rules. DC 60...