From the facts admitted by the bench, this is a clear case of self defense and will almost certainly be overturned on appeal.
The judge needs to be disbarred.
Likewise the prosecutor.