docs: private void hardTouch(CmsObject cms, CmsResource resource) throws CmsException {
  
          CmsFile file = cms.readFile(resource);
          cms = OpenCms.initCmsObject(cms);
          cms.getRequestContext().setAttribute(CmsXmlContent.AUTO_CORRECTION_ATTRIBUTE, Boolean.TRUE);
          file.setContents(file.getContents());
          cms.writeFile(file);
      }