ErrorDocument 410 gives me back a 302 header

I’ve deleted several pages and tags from my site, and bases on my SEO recommendations I’ve redirected them to 410.

I’ve done that in my .htaccess file this way:

At the end of the .htaccess I’ve defined the ErrorDocument 410 and I want it to go to a page I’ve created on WordPress

The thing is it sends me to that page, but it gives me a 302 instead a 410 on the headers

What am I doing wrong?

Thanks in advance