Saving a webform programmatically in a custom webform handler throws "Entity validation was skipped."
The WebformSubmission::resave() method prevents the ::save and ::postSave recursion issue from occuring.