From the BBC:

A Moroccan computer engineer has been sentenced to three years in jail for setting up a Facebook profile in the name of a member of the royal family.
 
Fouad Mourtada was arrested on 5 February on suspicion of stealing the identity of Prince Moulay Rachid, younger brother of King Mohammed VI.

The Casablanca court also ordered Mr Mourtada, 26, to pay a $1,300 fine.

The prosecution had urged the court to impose a sentence which set an example for others.

Mr Mourtada was convicted of "villainous practices linked to the alleged theft of the [prince's] identity".

In his defence, he said he admired the prince, and that the Facebook entry was just intended to be a bit of fun.