I think I remember someone suggesting in a previous thread about a similar topic that a situation like this should have the child in the bathroom changing and cleaning themselves completely (although i'd check to make sure they don't come back dirty) and to have a fun activity going on with the rest of the group during the time they're are figuring our their own mess, so they miss out on the cool activity.