Court directs government of Karnataka to pay ₹5 lakh as compensation for illegal arrest