In practice
Housings carry the pressure, the inlet and outlet ports, the drain and often the bypass valve and a restriction indicator. On cartridge filters the housing is serviced many times over its life, so thread condition, seal grooves and internal cleanliness matter. A scored or corroded seal groove will leak regardless of how good the new O-ring is.