His scolding apparently didn’t go over too well with members of the security services.