Using replace avoids adding a blocked protected page as a new history entry, which can make the back button behavior cleaner.