A method and system for providing a sanitizing treatment for a product or object while inside a package. The system provides an atmosphere inside a contained environment that reduces, or eliminates, oxygen from the atmosphere, the contained environment containing at least one product or object packaged inside a package. At least one UV energy source transmits ultraviolet energy through the atmosphere inside the contained environment and toward the packaged product or object contained therein, the ultraviolet energy providing at least one of a sanitizing, disinfecting and sterilizing treatment to the packaged product or object by converting oxygen in an atmosphere between an inside surface of the package of the packaged product or object and the surface of the product or object to ozone in the atmosphere therebetween.