الْقَاضِي is the subject and hence nominative even though no ḍamma is visible on its final yāʾ.
Its complete analysis: فَاعِلٌ مَرْفُوعٌ، وَعَلَامَةُ رَفْعِهِ الضَّمَّةُ الْمُقَدَّرَةُ عَلَى الْيَاءِ، مَنَعَ مِنْ ظُهُورِهَا الثِّقَلُ.
Point: no visible ḍamma does not mean the subject has ceased to be nominative.