Here is the trick. If using a sealant or just putting them on dry the gaskets will squeeze out at the bolts while being compressed.
The trick is to dry the pan. Use contact cement and glue the gasket to the pan . On big blocks glue the second gasket for the windage tray to the top of the tray. With the gaskets glued in place they will squash but won't push out. Remember to always tap the holes flat on the pan.
Look at this gasket install Can't get any tighter then this. He had 4 gaskets and RTV with a windage tray and it still leaked. LOL
View attachment 1716424671