Solution:

If the page number 999 says the truth, there are 999 pages with false statement on them which is true since the pages from 1 to 998 and the 1000th page contain false statements.