Erm... following that logic, sometimes people who break a window enter houses and end up murdering the occupants, it's rare, but it happens.
Therefore the correct treatment of window-breakers is obviously a life sentence - they might just break a window, or they might murder the occupants...