§ 8.01-648 – What judgment to be rendered

The court shall award or deny the writ according to the law and facts of the case, with or without costs.