Demoted Christian in court over same-sex 'marriage' comments