Yeah I did that for now too, but it would be cool if it were possible to display an error message actually instead of the actual post.
Like all the navigation would remain the same, it would show as many pages as the thread had, and the guest could go to them all, BUT, each post after X number would not show the actual message, but a register message.
I made a screenshot

(Kind of big but it's a good example)