This *may* not be up to code. It seems there is no state law regarding pool enclosures/fences but is apparently governed by municipal/city ordinances. But I admittedly didn't do a deep dive. It's been my experience, however, that most municipalities require a pool to be fully and separately...