Thousands of banned dogs living legally in private homes