I think it really depends on the local codes and laws. Here in FL, the leading cause of death for children under 5 is drowning - most in the pool at their own house. So the state passed a law requiring that a barrier be placed around the pool which met certain requirements.

Now, I am not stating an opinion as to whether I agree or not with it - but that's just the way it is down here.