Was shooting a ghost a legal defense in a murder trial? In the London neighborhood of Hammersmith, in 1804, sightings of a ghost had everyone alarmed, and one local decided to confront it. He did, a murder trial ensued, and it was 180 years later the English courts settled the matter.
https://londonist.com/london/features/hammersmith-ghost-story-murder
(Photo courtesy of Shutterstock)