I had wondered about merely placing springs, a latch, and a padlock on the actual pool gate itself which is what we actually use here. Although our gate is 5 ft. The padlock is discussed in 6 C 1 a and b below. If your gate is wooden you can add Lattice or plywood to the top to raise the height.
I think as long as it opens out, not in, as Mike mentioned above, It has a spring to close and latch it, there is no climbable boards or bars on it (depending on whether you are using chain link or privacy fencing, the gap between the bar on both sides is small enough to prevent a child from squeezing through, and you lock it up with a padlock you shouldn't have an issue passing inspection.
All the information is directly quoted from the link below. Only a small portion of the info was copied into the post. To read the NJ law in it's entirety go to this link:
http://www.njleg.state.nj.us/2010/Bills/S1500/1278_I1.HTM
4. A swimming pool shall be entirely enclosed by a wall, fence, or other barrier meeting the following specifications:
a. The wall, fence, or barrier shall have a minimum vertical height of five feet, as measured on the side farthest from the swimming pool;
b. Any openings in the wall, fence, or barrier shall be of a size so that a spherical object four inches in diameter cannot pass through;
c. If the wall, fence, or barrier has horizontal components, they shall be:
(1) Spaced a minimum of 45 inches apart, measured vertically; or
(2) Placed on the side of the wall, fence, or barrier closest to the swimming pool. In such a case, the wall, fence, or barrier shall not have any openings greater than one and three-quarter inches, measured horizontally;
d. In the case of wire mesh or chain link fences, the mesh size shall be a maximum of one and three-quarter inches, measured horizontally;
e. The wall, fence, or barrier shall not contain any openings, handholds, or footholds accessible from the exterior side of the enclosure than can be used to climb the structure; and
f. The wall, fence, or barrier shall be at least 20 inches from the edge of the water.
5. Any gate in the wall, fence, or barrier required pursuant to section 4 of P.L. , c. (C. ) (pending before the Legislature as this bill) shall open outward from the swimming pool and be self-closing and self-latching. In addition, the gate shall either:
a. Be secured by a padlock or similar device which requires a key, electric opener, or integral combination; or
b. Have its latch located:
(1) A minimum of 54 inches above the underlying ground; or
(2) On the side of the gate closest to the swimming pool, with a release mechanism a minimum of five inches below the top of the gate. A gate meeting these specifications shall not have any opening greater than one-half inch within 24 inches of the release mechanism.
6. If a residence or living area constitutes part of the wall, fence, or barrier required pursuant to section 4 of P.L. , c. (C. ) (pending before the Legislature as this bill), the owner may elect one of the following in lieu of meeting all the specifications outlined in sections 4 and 5 of P.L. , c. (C. ) (pending before the Legislature as this bill):
a. A wall, fence, or barrier between the swimming pool and the residence or living area, that has a minimum vertical height of four feet, as measured on the side farthest from the swimming pool and meets all the specifications outlined in subsections b. through f. of section 4 and all of section 5 of P.L. , c. (C. ) (pending before the Legislature as this bill);
b. A motorized safety pool cover which requires the operation of a key switch and meets all applicable standards set by the American Society of Testing and Materials. The safety pool cover shall not require any manual operation other than the use of the key switch;
c. (1) All ground level doors or other doors with direct access to the swimming pool shall be self-closing and self-latching. In addition, the door shall either:
(a) Be secured by a padlock or similar device which requires a key, electric opener, or integral combination; or
(b) Have its latch located:
(i) A minimum of 54 inches above the underlying ground; or
(ii) On the side of the gate closest to the swimming pool, with a release mechanism a minimum of five inches below the top of the door. A door meeting these specifications shall not have any opening greater than one-half inch within 24 inches of the release mechanism; and
I hope this helps. Have a nice night