Sex and Menstrual Cups

This probably seems stupid, but can you have penetrative sex with the cup in? I've done it a couple times on accident (things got heated and I forgot it was in there) and I'm wondering if there's any harm to it.