Water rail gaskets (or lack thereof)

Been there, done that. There wasn’t any gasket there either in my case just sealant. So I got two gaskets-made for the X300 models) from ebay and installed them. I didn’t have any problem removing the bolts. That side of the gasket (3rd picture) went against the engine block. I asked my friend and he told me to install it that way because that side has to get the heat from the engine.