Some criminals not only have no respect for the law, but they have no respect for those who play roles in regard to the law.
Most criminals know that the last place you want to be disrespectful is in the courtroom, especially during a sentencing hearing. If there is to be any mercy had, this is the time.
This criminal obviously doesn’t care. While he’s waiting in line for his turn to be sentenced for whatever miscreant act he committed, he decides to let the judge know what he thinks of the entire proceedings. The judge, in turn, lets him know what he thinks of him.