For the absolute worst of schools, perhaps extending online learning might be best. That way disruptive students can just be muted. And then provide some physical location where students can do online classes when they don't have a suitable home environment.