What was the initial purpose of the judge’s gathering in Alexandria?

The Alexandrian Maqāmah — A Traveler’s Ambition and a Complaint before the Judge