The astronomer before the court of witches