I do not know if any of you have house ruled this or even had an issue with it but,
If you first read the discribtion of the Diplomacy skill it states that it work on NPCs
anyway, on given examples of the book, it is used to make a beholder stop its attack (at least in 3.0 dont know about 3.5...