Wouldn't it be a bit more useful to keep the routes around independently of the settings, but return a 404 together with an explanation in the body if locations or organizations have been disabled?