Russian police detained hundreds of protesters Monday outside a court that sentenced seven activists to prison terms of up to four years for demonstrations against Vladimir Putin's third presidential inauguration in 2012.