The cover both seals and stiffens the box: ribs across the top raise the stiffness of the thin wall so it does not bulge under internal pressure.
The bolt holes and the joint face are machined in one setup, so a bead of sealant and even bolt torque are enough, with no second fitting pass.