Logan Act violations, but under cover of self-promotion for Secretary General (or some new title) of the U.N., would be my guess.
The OC Sheriff was smart in how she went about this. She is not notifying ICE when people with detainers are being released. Rather, she is publishing the release times for ALL inmates. No discrimination. It's likely to survive court challenge, and to be imitated elsewhere.