A man who appeared as a witness during the defamation case of former elite soldier Ben Roberts-Smith has pleaded guilty to hindering a Commonwealth official.
The man, who can only be identified as "Person X" under a court order, was this week due to face a two-day hearing over his "extremely discourteous" behaviour in a Sydney hotel.