Brazilian law requires lifeguards at Olympic pool