The verdicts are the first prison term for a Moroccan journalist in four years, and were immediately denounced.