Writing a book is not unlike playing a videogame. You have this world, you venture forth, and then... stuff happens.
I've been in a similar situation a couple of times before, and I always make a point to apologize directly to the child for their parent's 'terrible behavior'. That usually gets the shitty parent really riled up, which is always good for a laugh.