The 2009 incident, the first downing of an aircraft by criminals in Rio, underscored the challenge for law enforcement in a city where heavily armed gangs increasingly possess enough firepower to contend with state security forces.