Uruguay must remove obstacles to prosecuting human rights offences committed during its dirty war in the 1970s, including an amnesty that had protected military and police officers accused of killings, kidnappings or torture, the Inter-American Human Rights Court ruled.