A controller not loading is the same as returning 404. You can return a 404 from an endpoint given a setting or certain condition. Would that work?