Do you have zero experience with software development?
Can you force them to design it, test it, pay for the development of it? And even if they did, do you really think it would work for every version of IOS?
I don’t believe it can be a valid court order any more than you could get one to write a novel or compose a song.
Not only that, the point of this whole debacle is that Apple’s encryption is one way only. Thus there can be no back door - and that is the whole point of encryption. The FBI and other alphabet angencies can cry all they want but it won’t help them. They need to listen to their top coders and realise there’s no way of breaking through private one way encryption without the help of “GOD” or divine intervention. Apple for whatever you may think of their thing is a shining light here we all should respect and stand beside so our freedoms are kept intact,