I mean, I've got nothing against books. Obviously, this is a book, and I read it, and reading is great, but you kinda need to keep an eye on kids, especially in a place as big and dangerous as a beach. So it's very realistic, but I wouldn't want to give kids the wrong idea, that it's okay to wander off at the beach.
Message
As long as you follow the letter of the rules, the spirit doesn't matter.