On the electromechanical systems I used to work with in the oil industry, they were rated for a max working pressure of 20,000psi at the bottom of a borehole full of hot sometimes conductive mud.
On hydraulically-operated equipment, the downhole motor and pump sat in the hydraulic reservoir, which then had a floating piston with the other side open to the borehole.
Thus the entire hydraulic system was equalised up to the external hydrostatic pressure.
So the hydraulic pump was generating 3000psi *relative to hydrostatic*.
This means there's no pressure differential across the instrument body between inside and out.