legalistically

adverb
  1. in a manner that strictly adheres to the letter of the law rather than its spirit or intent; with excessive concern for legal technicalities
  2. Usage: often carries a critical or disapproving tone; commonly used in legal, business, and formal contexts

Examples