Judge throws out ghost tale