Reminds me of one of the Oscar nominated live action short films this year, "Please Hold". It takes this dystopian concept to the extreme, where a man is subjected to an automated justice system and has very little rights to speak with humans in the process. Not my favorite of the nominations, but an interesting watch:
https://www.imdb.com/title/tt11383280/