Ex aequo et bono: how does it work?
As far as the writer remember, the first philosopher who expose the use of equity was Socrates himself.
Soecrates was also the only person in the world who agreed to be punished with death sanction istead of revoking his teaching.
According to Soecrates if the law is to harsh equity may be given.