I guess with Diplomatic Immunity they don’t send you through the security screenings?
According to what I can find, diplomatic immunity does not exempt you from security screening. However, customs or TSA cannot open your luggage without permission.
Apparently, TSA can still refuse to let someone with diplomatic immunity into the secured area, if they have reason to be concerned about the X-ray scan.