A Moscow court on Monday sentenced seven activists to up to four years behind bars for taking part in demonstrations against President Vladimir Putin.