I'm thinking of getting caught having sex in the public bathroom.
Why would you want to get caught?
People would end up watching it, wouldn't you?
No, I have other things to do. What you're think of doing would likely result in your arrest for indecent exposure. The judge would likely require you to register as sex offender -- that's a life sentence.
You are over exaggerating.
You should do your sexual activities in your private space, it's illegal and immoral to force people watch them. As I said if you want to avoid any legal repercussions, don't go with your plan.