A judge must leave every thing behind him when it comes to truth.
here is some information on judge in Islam
Judge (Qazi)
Another myth concerning Islamic Law is that there are no judges. Historically the Islamic Judge (Qazi) was a legal secretary appointed by the provincial governors. Each Islamic nation may differ slightly in how the judges are selected. Some nations will use a formal process of legal education and internship in a lower court. For example, in Saudi Arabia there are two levels of courts. The formal Shariah Courts which were established in 1928 hear traditional cases. The Saudi government established a ministry of justice in 1970, and they added administrative tribunals for traffic laws, business and commerce. "All judges are accountable to God in their decisions and practices" (Lippman, p.66-68).
One common myth associated with Islamic Law is that judges must always impose a fixed and predetermined punishment for each crime. Western writers often point to the inflexible nature of Islamic Law. Judges under Islamic Law are bound to administer several punishments for a few very serious crimes found in the Qur’an, but they possess much greater freedom in punishment for less serious (non-Hadd) crimes. Common law is filled with precedents, rules, and limitations which inhibit creative justice. Judges under Islamic Law are free to create new options and ideas to solve new problems associated with crime.
for more on Sharia elements please visit:
http://muslim-canada.org/Islam_myths.htm