I had to pull the engine out when the gasket by itself did not seal the upper oil pan. The second time I put a bead of RTV above and below the gasket, and it appears to seal ok now. I could probably just have re-used the old gasket with the RTV to get the same effect.