ExBethelitenowPIMA is correct in saying that the WT did not contradict themselves in regards to what is quoted in the opening post of this topic thread. Months ago in a different topic thread the same subject was discussed and I explained there that there was no contradiction by the WT in that matter.
BoogerMan and others, on p. 18 paragraph 14 the WT defines what they mean by a person who is resurrected as an unrighteous person. That kind of person is defined by the WT as one who practiced vile things before their death and subsequent resurrection. Furthermore, when the WT said "The unrighteous must have practiced these vile
things before
their death" the WT is writing about a death which was experienced before their resurrection during the 1000 years, and thus a death experienced before the start of the 1000 years - not a death during the 1000 years (as punishment/execution) and not a death at the end of the 1000 years. It also says that during the 1,000 years no one will be allowed to practice vile things, it does not say that during the 1000 years that no one will be allowed to do a vile thing. That is an important distinction to keep in mind. There is a big difference between doing something once and making a practice of doing something.
On page 19 paragraph 18 the WT says that those who are resurrected during the 1000 years will be judged by the deeds (good and/or bad) they do during the 1,000 years. But, notice that on page 18 the WT used the word "practiced" as a modifier.
During the years when I was an active baptized JW (in the 1980s through the 1990s) the WT literature explained what they meant by their use of phrase "practice sin" (instead of simply saying "sin" or "do a sin") and in one verse in the WT's 1984 NWT NT (in a letter of John, I think) they draw a distinction between that phrase of "practice sin" (or something close to it) and the phrase "commit a sin" (or a phrase close to it). Basically the one practicing vile things are ones who repeatedly do vile things, rather than those who did a vile only once (or perhaps only twice or so). It is kind like one of he criteria the JW elders use when deciding if a guilty JW should be disfellowshipped or not, or if the person should be publicly reproved or not. Namely, the elders try to determine if the person made a practice of doing the wrong, a habit of doing the wrong, or not.
The WT teaching of the judgment of people during the 1000 years is more comparable to what currently happens to people in probation (such as by the prison system, by an employer to an employee, and by parents to their child), than it is comparable to the doctrine of purgatory. The purgatory doctrine says that people will suffer in purgatory (while being judged) until they have been purified.