Earlier quoted context omitted.
> if you were Christian, you would get Christian judges, a Muslim would get the Muslim court and a Jewish person would likewise Do you know how this worked with disputes between people of different religions?
I have no idea, and that is a fascinating question.
The judicial system of this empire was quite accommodative for an Islamic system. It had Islamic courts which were the primary courts and they formed the cornerstone of administration in the empire. But there were also other courts that were not based on Sharia law and were meant for the interpretation of the law as understood by non-Muslims who were part of the empire. They included Jews and Christians who had been welcomed to the empire and lived in groupings called millets. But the Jews and Christians had the freedom to take their cases to the Islamic courts if they wanted to and many did as a way of giving judicial credence to their cases, given the immense unofficial respect that was given to the Islamic courts. It should be noted that this recognition was informal and any decision from the other courts were equally respected in the empire.
The third type of courts was the trade/commercial/industrial or business courts. In these courts, disputes emanating from business within the empire were solved. The parties involved determined the inclination and sometimes, both Islamic law experts and Christian and Jewish judicial officers would sit side by side and decide a case. They were more concerned with securing justice and fairness and religion was never a key consideration. New laws into the three types of courts came from the top leadership as well as the judicial experts of the three courts.