All of theses experiences would make you really question why AGS are involved with passport applications at all. The whole process could be centralised and processed by appropriately trained lay people. Such a waste of their time doing clerical duties like this.
They do it so that they can verify the ID and photographs you're presenting do in fact belong to you, and for that system of verification to be very difficult for the criminal element to circumvent.