Absolutely. I think bad-faith action on the part of a government official can give rise to liability, but it's a very cumbersome way of enforcing a public duty, I think. I'm not sure that it requires a criminal penalty in the statute, but it does require, I think, some tough action by senior managers by way of discipline if they find this out, and that discipline should be made known in the system.
To this date, I know of no discipline ever meted out to anyone for disclosing identities, including Mr. Rowat after he refused to answer the question and was told by the court he had to answer the question or face contempt. He came back and said, I can't remember the name of the person who told me. He went back to the court, which laid on punitive penalties, and the government paid them. The government pays them for him.
What were the penalties, you ask? I'm not sure what the penalties were.