Raccoons, black bears, and skunks are all smarter than many people seem to think. They can find their way into most anything in common use. There have been cars broken into by bears, for example.
You know the adage about how a skunk won't spray in an enclosed area, so that you can throw a blanket over a skunk and not worry about being sprayed? It's a lie. Mr. Skunk does not care.