There is a difference between following principles and legalistically obeying rules. Jesus clearly showed this in the Sermon on the Mount.
सिद्धांतों को मानना एक बात है मगर कायदे - कानूनों के एक - एक अक्षर पर अड़े रहना, दूसरी बात ।