That is what gaskets are designed to do. Admittedly I haven't read the regulations, but they could even go as far as making the gasket "single use". Meaning the battery is user replaceable, but not meant to be constantly swapped. Removing the back cover could require replacing the gasket and using a specific torque value and sequence on the screws the same way you would on any other gasket interface meant to keep dust and liquids in or out.
They could also potentially start waterproofing the circuit boards themselves with conformal coating the way they do with mission critical hardware that needs to still function even if there is some amount of water ingress. I'm not saying I'd be happy with that solution, but it wouldn't surprise me if they did.