The way to avoid this predicament is to have a bottle opener on your key chain. Never know when it will come in handy.
A pocket knife can open a bottle, eventually, without cutting anything.
Or a BIC lighter. May be able to do it with a shotshell. I’ll look into it.