The exemple of the bottle of milk is not complete : it's like a bottle of milk cost 5$, but a bottle of milk and a Mars bar is 4$. You take the bottle of milk and the Mars bar and as you are on a diet, you leave the Mars before the shop. How is it illegal?