Case regarding a writ of habeas corpus