When Fred and George create a distraction, I must say they don't fool about. What they did would have distracted almost anybody. Somehow they managed to transform a fifth-floor corridor into a swamp, and then they let themselves be caught by Umbridge. They ended up cornered and at bay in the Great Hall, with the whole school watching as Filch waved the papers that Umbridge had signed allowing him to whip students.