This is called a key escrow, which is known for not working, mainly because the assumptions ("once a court order is granted") can't be implemented technically.
care to provide any evidence for that claim?
> ("once a court order is granted") can't be implemented technically
we live in the real world. if you can't trust your judiciary then your precious little algorithms aren't going to save you. (sorry to be the bearer of bad news)