If possible, include a "redirect" switch to the noitems template.
Use case is that if no content is found in the template an option to redirect to a 404 page (or other) and change the return code of the page appropriately.
I've found basic 404 handling info here, but it seems a little bit over my head. https://www.dnnsoftware.com/wiki/dnn-404-handling