Outside bathroom with the bush toilet - surround with invisible fence, then place a gate. Click on the gate then
Nraas>DebugEnabler>Object>Toggle Visibility.
The gate will now become invis’ and your sims won’t shoo everyone from the lot when using the loo.
Like so.
To get rid of the fence and gate just unplace a new fence over it by holding control as you place it and it will remove the original fence and gate.
Great for using with Rabbithole Rugs too - you can make them visible again by clicking on their tag in map view. Or, if you’ve placed a rug on any lot with a wall, click the wall to access the rug’s options. No need for the rug to be visible and potentially ruin an aesthetic.