Ex-mayor in court for 'discrediting Russian army'