See this post about using namespaces cleverly:
https://discuss.daml.com/t/managing-namespaces-in-daml
And also this for a discussion of enforcement of scope through the API, which I think you may be alluding to:
https://discuss.daml.com/t/should-runtime-api-respect-namespace-scopes