It may not be an option if upstream is still intercepting 4xx responses, but it seems like this should be returning a 410? If it's not currently an option it would be good to have a comment explaining that.