It does seem mysterious. Looks like he didn't get caught (or punished) until 1853. Here he is with his parents: Lungsund AI:17 (1846-1850) Bild 24 / sid 15 (AID: v12009.b24.s15, NAD: SE/VA/13342)
Then he is dräng with the chaplain: Lungsund AI:17 (1846-1850) Bild 225 / sid 216 (AID: v12009.b225.s216, NAD: SE/VA/13342) - this is in 1847, nothing untoward noted
Then, together with the note about banns being read for his marriage, there is a note about theft and punishment: Lungsund AI:19 (1851-1855) Bild 133 / sid 124 (AID: v12012.b133.s124, NAD: SE/VA/13342)
Lösdrivare -53. Straffad för 1sta resan stöld med 22 dygns vatten o bröd samt uppenbar kyrkoplikt i Lungsunds kyrka d 15/5 -53. Stölden förfvades 1847.
Unemployed in -53. Punished for first time theft with 22 days water and bread and public shaming in Lungsund church 15/5 -53. The theft was perpetrated in 1847.