Shoplifter can go free with one condition