Ha
Had this same thing happen to me and a friend in a public park... but the officer was not so nice. When she got within 10 yards of me, she told me to "Drop the shovel" and reached for her weapon! Not sure what someone told her, but no matter what I said, she wasn't having any of it. So we just did like the boys, stopped talking, packed up and walked away to avoid further confrontation.
Fortunately, most officers are nice, and understand where it's OK and where it's not. I guess some just have a bad day, just like we do, and take it out on the next person they encounter...
Good luck to all!