If I wanted to avoid carrying a full wag bag, I could just take a dump anywhere and still carry the WAG bag.
And if I really resented being stopped and searched, I could carry TWO WAG bags: leave the full one by the trail, and carry the empty one to show to the ranger.