The Judicial Function and Artificial Intelligence: Can Machines Adjudicate?

Author: Dr. Saima Butt, Hafiz Muhammad Azeem, Rabia Zafar

Abstract

The introduction of artificial intelligence (AI) into the judicial system creates a constitutional question, which this paper attempts to answer, can the judicial functions be legally executed by AI systems? This paper tries to address this research gap in the legal research by assessing whether existing AI systems can pass the constitutional test of a judicial work. To this end, there is a single Judicial Function Test, developed through literature review, a 23-item tool, based on doctrinal legal sources and constitutional jurisprudence, which operationalizes the essence of judicial power: the legal empowerment, impartiality, reasoned judgment, procedural compliance, and accountability. Using the mixed-methods design, standardized prompts were given to six top AI platforms: ChatGPT, Gemini, Grok, DeepSeek, Claude, and Copilot in relation to each criterion. Their self-assessed answers were noted down. Following research, some important conclusions have been obtained: selfassessment of constitutionality in all 144 coded answers in No. No AI system stated that it was judicially qualified. Four platforms (Gemini, Grok, DeepSeek, Claude) attained a score of 24/24 on doctrinal accuracy, whereas ChatGPT and Copilot demonstrated a hedged performance on technical skills. Most importantly, the Overconfidence Index on all platforms was zero on disqualification criteria. The paper shows that inability of AI to perform judicial role is structural in nature that is based on inability to possess legal personhood and constitutional accountability as opposed to technical. The following results identified a valid justifying role of AI: an instrument of justice systems, but not an organ of it. The paper presents an important participation through showing empirical assessment of AIs in constitutional self-knowledge criteria and supports the principles of judicial functions foundations.

Keywords

Artificial Intelligence, Judicial Function, Constitutional Role of a Judge, Legal Personhood, Judicial Accountability, Algorithmic Adjudication, Legal Reasoning

References

Arbani, T. S. (2025). Algorithmic Justice: A Study on Risks and Opportunities in the Use of Artificial
Intelligence by Judges in Courts. Siyasah, 5(1), 27–49.
Azeem, H. M., Tariq, M., & Rafique, M. Z. (2023). Navigating the Complexity of Administrative
Actions: A Taxonomy and Legal Analysis. Pakistan Journal of Humanities and Social
Sciences, 11(3), 3600–3608.
Bekmambetov, T. (Director). (2026, January 23). Mercy [Video recording]. Amazon MGM Studios,
Atlas Entertainment, Bazelevs Entertainment.
Borgesano, F., De Maio, A., Laghi, P., & Musmanno, R. (2025). Artificial intelligence and justice:
A systematic literature review and future research perspectives on Justice 5.0. European
Journal of Innovation Management, 28(11), 349–385. https://doi.org/10.1108/EJIM-01-2025-
0117
Chesterman, S. (2020). Artificial intelligence and the limits of legal personality. International &
Comparative Law Quarterly, 69(4), 819–844.
Contini, F. (2020). Artificial intelligence and the transformation of humans, law and technology
interactions in judicial proceedings. Law, Tech. & Hum., 2, 4.
Dancy, T., & Zalnieriute, M. (2025). AI and Transparency in Judicial Decision Making. Oxford
Journal of Legal Studies, gqaf030. https://doi.org/10.1093/ojls/gqaf030
Huddart, Parker and Co. vs. Moorehead (1909) 8 CLR 330, 357).
Ilic, G. P. (2011). Right to a Reasoned Court Decision. CRIMEN, 227.
Jadidi, V. (2025). The impact of Artificial Intelligence on judicial decision-making processes.
Advanced Journal of Management, Humanity and Social Science, 1(5), 271–281.
Klasra, M. M. A. (2025). AI in the Criminal Justice System: Fair Trial, Due Process, and
Accountability. ASSAJ, 4(02), 2833–2842.
Li, X., Sigov, A., Ratkin, L., Ivanov, L. A., & Li, L. (2023). Artificial intelligence applications in
finance: A survey. Journal of Management Analytics, 10(4), 676–692.
https://doi.org/10.1080/23270012.2023.2244503
Li, Y., Huang, Y., Ildiz, M. E., Rawat, A. S., & Oymak, S. (2024). Mechanics of next token prediction
with self-attention. International Conference on Artificial Intelligence and Statistics, 685–
693. https://proceedings.mlr.press/v238/li24f.html
Livermore, M. A., Beling, P., Carlson, K., Dadgostari, F., Guim, M., & Rockmore, D. N. (2020). Law
Search in the Age of the Algorithm. Mich. St. L. Rev., 1183.
Lopes, G. P. (2025). Bias in adjudication and the promise of AI: Challenges to procedural fairness.
Law, Technology and Humans, 7(1), 47–67.
https://doi.org/10.3316/informit.T2025052200005991867720913
McIntyre, J. (2019). Introduction to the Judicial Function. In J. McIntyre (Ed.), The Judicial Function:
Fundamental Principles of Contemporary Judging (pp. 23–31). Springer Nature.
https://doi.org/10.1007/978-981-32-9115-7_2
Rademacher, T. (2020). Artificial Intelligence and Law Enforcement. In T. Wischmeyer & T.
Rademacher (Eds.), Regulating Artificial Intelligence (pp. 225–254). Springer International
Publishing. https://doi.org/10.1007/978-3-030-32361-5_10
Rana, M. Z. R., Azam, A., Akbar, M. S., & Azeem, H. M. (2024). Delegated legislation in
administrative law: An analysis of its expansion and forms. Pakistan Research Journal of
Social Sciences, 3(3). https://prjss.com/index.php/prjss/article/view/149
Reis, J., Santo, P. E., & Melão, N. (2019). Impacts of artificial intelligence on public administration:
A systematic literature review. 2019 14th Iberian Conference on Information Systems and
Technologies (CISTI), 1–7. https://ieeexplore.ieee.org/abstract/document/8760893/
Robson, W. A. (1970). Justice and Administrative Law: A Study of the British Constitution.
Macmillan and Company, limited.
Saleem Ahmed Jan vs. Deputy Comissioner Islamabad 2024 CLC 953.
Secinaro, S., Calandra, D., Secinaro, A., Muthurangu, V., & Biancone, P. (2021). The role of artificial
intelligence in healthcare: A structured literature review. BMC Medical Informatics and
Decision Making, 21(1), 125. https://doi.org/10.1186/s12911-021-01488-9
Soni, B. (2025). Algorithmic Justice and Social Inequality: The Sociological Impact of Artificial
Intelligence on Law and Access to Justice (SSRN Scholarly Paper No. 5913526). Social
Science Research Network. https://doi.org/10.2139/ssrn.5913526
Sourdin, T. (2018). Judge v Robot?: Artificial intelligence and judicial decision-making. University
of New South Wales Law Journal, The, 41(4), 1114–1133.
Sultan, M. S., & Azeem, H. M. (2023). Reevaluating administrative discretion and its regulatory
framework. Journal of Law and Social Studies (JLSS, 5)(3), 507–524.
Tullah, M. R. A., Sarwar, M. W., Khalil, I., & Azeem, H. M. (2024). Fitness to Stand Trial: An
Examination of Procedure for the Trial of Unsound Mind. Pakistan Research Journal of
Social Sciences, 3(2). https://prjss.com/index.php/prjss/article/view/136
Vidaki, A. N., & Papakonstantinou, V. (2025). Democratic legitimacy of AI in judicial decisionmaking. AI & SOCIETY, 40(8), 6025–6035. https://doi.org/10.1007/s00146-025-02411-w
Weber, R. F. (2020). Will the” Legal Singularity” Hollow Out Law’s Normative Core? Mich. Tech.
L. Rev., 27, 97.

DOI: 10.52279/jlss.08.01.106131  | 106-131  PDF