As the lower animals were anciently amenable to law in Switzerland, so, in peculiar circumstances, they could be received as witnesses. A similar law, it appears, is still, or was to a very late period, recognised in Savoy. If a man’s house was broken into between sunset and sunrise, and the owner of the house killed the intruder, the act was considered a justifiable homicide. But it was considered just possible that a man, who lived all alone by himself, might invite or entice a person, whom he wished to kill, to spend the evening with him, and after murdering his victim, assert that he did it in defence of his person and property, the slain man having been a burglar. So when a person was killed under such circumstances, the solitary householder was not held innocent unless he produced a dog, a cat, or a cock that had been an inmate of the house, and witnessed the death of the person killed. The owner of the house was compelled to make his declaration of innocence on oath before one of these animals, and if it did not contradict him, he was considered guiltless, the law taking for granted the Deity would cause a miraculous manifestation by a dumb animal rather than allow a murderer to escape from justice.
— William Jones, Credulities Past and Present, 1880