What is the meaning of Perversely?

In a perverse manner.

Source: wiktionary.org