I've heard of a few people cracking the port due to over torqueing the sensor.
This guy on the 350Z forum had a solution that might be worth checking out before replacing the upper oil pan. It's a common BMW solution.
https://my350z.com/forum/2003-2009-n...imple-fix.html