It's in S 20.04 of the current regs. It is a cat1-5 requirement not just Cat 1.
Ours are below the cabin sole, but the 'box', which is really a dedicated compartment is part of the furniture and is completely sealed with no egress or ingress possible from below the sole.
Only a hole in the hull at the location of the battery compartment would cause the compartment to flood.