perversely

adverb
  1. in a way that is deliberately contrary or unreasonable
  2. in a way that goes against what is expected or desired

Examples