How to make 404 route redirect to static page when clicked on internal link?

I have an anchor link set to internal that routes to something that doesn’t exist. I’ve set up the route as redirect and url as I want it to load the static error.html file.

Wappler 27-07-2022 13.10.01 000019

However AC routing is loading the static as a fragment inside the view.

How to handle this case?

Edit: I was just checking if you were all awake. You can most probably disregard this :smiley:
I will slowly convert this into a related feature request.