A Saudi man who was arrested in January on charges of homosexuality, a "general security" offence, and impersonation of a police officer has been sentenced to 1,000 lashes, plus a fine of 5,000 rials (US $1,333) and a year in prison.