If the prims are phantom, they'll go right through.
Also, cats will continue to ram into prims at times until they DO make it through. I've had this happen on multiple occasions, coming home to find cats stuck in walls, and under floors, and in all kinds of weird places.