I am under the impression that it works this way:
For civil trials, there is not always a right to trial by jury. When there is a right to it, there will be a jury if either side requests it.
For criminal trials, there is a right to trial by jury if the maximum sentence is greater than (but not equal to?) six months. The defendant can waive this. I don't know whether the prosecution must also agree to it.
Is that correct? Can a criminal defendant force the prosecution into a bench trial for a serious offense, or do both sides have to agree?