Behavior outside a community should have consequences inside it when it has consequences inside it.
If your behavior outside of a community causes an uproar and crisis inside the community when it becomes known, it has already had a consequence inside the community. It will already have future ramifications. All you can do at that point is decide whether you want the future ramifications to include a commendation, condemnation or silence from the community.
Communities are not hermetically sealed environments. In my opinion it is silly and childish to pretend they are.