the 16th-century leader Toyotomi Hideyoshi wrote a letter to the kami Inari:
To Inari Daimyojin,
My lord, I have the honor to inform you that one of the foxes under your jurisdiction has bewitched one of my servants, causing her and others a great deal of trouble. I have to request that you make minute inquiries into the matter, and endeavor to find out the reason of your subject misbehaving in this way, and let me know the result.
If it turns out that the fox has no adequate reason to give for his behavior, you are to arrest and punish him at once. If you hesitate to take action in this matter I shall issue orders for the destruction of every fox in the land. Any other particulars that you may wish to be informed of in reference to what has occurred, you can learn from the high priest of Yoshida.
Googling fails to reveal how this was resolved. Did Inari write back? Did Toyotomi realize that extermination was impractical? Did he simply get bored and drop the whole thing?
EDIT: The story appears to be drawn from Walter Dening's The Life of Toyotomi Hideyoshi (pp 406 print version/page 759 online version). The letter was supposedly written on March 17 (what year?) and addressed to the Inari of Higashiyama. The book also claims that the letter is (or was, in 1888) preserved in Toudai-ji.
The same letter (along with the Toudai-ji claim) also appears in Lafcadio Hearn's Glimpses of Unfamiliar Japan (chapter 15).