NavigationAccessChecker rerouteTo other view

how and where to implement reroute to other view in some circumstances with NavigationAccessChecker in JavaEE environments ?

NavigationAccessCheckers are not responsible for rerouting, but only to allow or deny a user to access a view.

For custom routing logic, an option could probably be implementing a custom access denied error handler, as in docs examples and reroute there.