casuistically

adverb
  1. in a manner that uses clever but misleading reasoning to justify something wrong or questionable
  2. Usage: often implies dishonest or evasive argumentation

Examples