only here were the gates lined up one behind the other to allow visitors to pass beneath all three of the winding walls directly to the old palace , without first making their way through miles of narrow alleys , hidden courts , and noisy bazaars .