Among the records of the Swedish Governor General of Livonia there is a substantial amount of judicial material, including about 15 volumes of records from military trials between 1662 and 1709. I recently had one of them scanned (EAA.278.1.XV-50). It covers the period between 1701 and 1709 and contains many odd bits and pieces such as occasional documents concerning the investigation of the surrender of Dünamünde fortress in 1700 and the captured library and archive of the Dukes of Courland. One document concerns three soldiers who were separated from their unit during the battle of Hummelhof and were suspected of desertion. A case from 1705 deals with a case where the body a fallen officer had been plundered during a battle and it was suspected that someone within his unit was responsible. Eventually it was discovered that the culprits were one of the fallen officer's servants and a soldier. One of them had managed to escape, but the other was sentenced to nine "gatlopp" (running the gauntlet) through 300 men and one year of hard labour.
In another case a soldier called Påvel (of Tokamåla, Småland) belonging to Per Banér's regiment was accused of trying to commit suicide. Påvel testified to the court that he had been convicted of beating one of the recently arrived recruits and as result lost his position as vice corporal despite being entirely innocent. This has resulted in a lot of thinking about his fate and how he was being persecuted. One morning Påvel had been drinking and after that he couldn't remember how he got hold of a musket and shot himself in the chest. Påvel stated he very much regretted what he had done and asked for the court's mercy. The regimental priest testified that Påvel must have been temporarily insane. The court decided that this was most likely the case and sentenced him to three "gatlopp" and three Sundays of "kyrkoplikt" (public penance in church).
In this case the votes are also present. The more unforgiving members of the court wanted to punish him with nine "gatlopp", while the more lenient ones (among them most of the officers) suggested 14 days of "water and bread" and 3 Sundays of "public penance".