The kasra tanwīn in indefinite قَاضٍ always proves genitive case.

Noun Case Class 8 — The Manqūṣ Noun