I think I have an idea about the collision groups - they may be a way of limiting where the enemies can go. From what I can remember, the enemies in that level stick mostly to the grey area, they may chase Mario into a green area, but won't go into the red...