The SN uniquely identifies the phone to which the order pertains. Within that phone is a UID accessible to software. The UID is unique to that device and is immutable. The UID is not immediately accessible to the court, the SN is immediately accessible to the court. Either can be used to uniquely identify a particular device.
NO, NO, NO. You think you "know" so much that just isn't true, Ray. It's no wonder that you make such asinine assumptions.
The UID is NOT accessible to software from outside the processor. That is one of the reasons it cannot be found. It is only accessible to the built-in apps in the PROCESSOR. SHEESH! How many times have we written this on this forum? No external software is permitted by the system to read the UID.
The Serial Number is really not used by Apple for control of software access or installation.
Right, so it can't be used. If a phone is sitting in front of me locked, there is absolutely no way I can find out the UID. Thus I cannot tailor the SW to look for it.