I have a pool fencing business here in spain, I don't believe there are any legal requirements to have a pool fence, but they are a very good idea.