The Qāḍī retains not only the power to interpret and express what the law is, but the authority to order it be applied by the executive.
If a person were in debt or in the long term employ of another, the same applied.
﴿ يَا أَيُّهَا الَّذِينَ آمَنُوا إِنْ جَاءَكُمْ فَاسِقٌ بِنَبَإٍ فَتَبَيَّنُوا ﴾ [الحجرات: 6].
Major sins? Minor sins? Morally suspect actions? Let's talk about it a bit.
Sexual assault that does not included penetration is one of those sins that is left to the Court's discretion to punish as it sees fit.
(إِنَّ الَّذِينَ يَرْمُونَ الْمُحْصَنَاتِ الْغَافِلَاتِ الْمُؤْمِنَاتِ لُعِنُوا فِي الدُّنْيَا وَالْآخِرَةِ وَلَهُمْ عَذَابٌ عَظِيمٌ)
[Surat An-Nur 23]
Indeed those that accuse chaste, heedless, believing women are cursed...
A priori are those that accost women sexually, as acts against them are worse that statements against them, and usually result from the lack of value men place on women.
For example the Hadith "The eye fornicates, and it's fornication is looking..." (Bukhari/Muslim)