Some trials are bench trials where no jury is present
Yes, in that case, the defense agrees to let the judge decide. They don’t have a jury trial and ignore it’s decision.