this is only a problem because we live in a prissy victorian society where natural functions like urination, defecation and breastfeeding are seen as illegal and shameful acts if done in public view. unless you're an animal of course, in which case no-one bats an eyelid !
i could , hypothetically, be done for discreetly 'watering' a tree, by a copper on a horse that has just dumped a gallon of wee and a bucket of poo on the path in full view of anyone there. a dog has more freedom than me !
meanwhile in France, i've seen respectable middle aged women in twinsets and pearls crouch down in bushes having been caught short at a bus stop. perfectly reasonable behaviour imo
my favourite was seeing a cop in Spain , directing traffic from a little raised island, stop all the traffic, and keeping his tackle covered by his hand , calmly let loose an almost interminable stream of wee onto the road. nobody seemed to find this unusual