Could closed end "POP" rivets be used to fasten the boss to the pan? They are liquid tight, would compress the gasket and come in all sorts of sizes. There would be no need to remove the oil pan if the engine was still in the car.
https://www.hansonrivet.com/rivets/b...-blind-rivets/