If I am on an overnight trip at a hotel and I forgot a swim suit can I wear my underwear in the hotel pool?

We are talking about tight non see through boxer briefs because technically wearing a swimsuit is already wearing underwear I just wondering this because I seen a guy do it before and I was wondering if it was ok or weird
If I am on an overnight trip at a hotel and I forgot a swim suit can I wear my underwear in the hotel pool?
Post Opinion