I too found that I could control the flight deck visits without the help of a government edict. On long flights it was a delight to speak to some of our pax, if they became tedious it was a pretty simple matter to become 'busy' and say goodbye. Requests were always vetted by the crew and overall, I never had any bad experiences in years. Sadly, now we are cowed by terror of any and everyone.