Shunning as pseudopunishment is silly. If it's not a problem, let them be. If it is a problem, fine them or arrest them.
This is very American way of thinking. Japanese society is like it is precisely because it follows different norms than American ones.