Contra legem facit qui id facit quod lex prohibet; in fraudem vero qui, salvis verbis legis, sententiam ejus circumvenit
Dictionary:
Ballentine's Law Dictionary
He acts contrary to law who does what the law prohibits; but he acts in fraud of it who, the letter of the law being inviolate, cheats the spirit of it.