Overriding Traefik Status Codes

Hello,

I am running Traefik v3 binary and I want to override certain error codes (ex.403) to different ones.

Is this possible? I have read the documentation but it's unclear to me if it can be accomplished or not.

I also tried two plugins but when the middleware is applied it always returns the status code I define even though the service might be available (overrides all responses apparently).

Did anyone accomplish this successfully that can help me?

Thanks in advance.