It was inspired by God and added to the canon of Scripture.
God reveals what He wants us to know about Heaven - sometimes He uses people to do it.
Well great, crack open the canon of Scripture and add these books!
Lewis never claimed what he wrote in The Great Divorce was factual.