A City of York Council officer has appeared before York Magistrates' Court charged with misconduct in a public office.