@sumudu They can be trained.
Edit: The trick is working out how to eventually graduate to the intended behavior in small, simple, reinforced behavior alterations. And positive behaviors are much easier to train than negative. So the “stay inside” thing could prove tricky.