The court ruling grew out of a 2002 case brought by Israeli and Palestinian human rights groups , after a Palestinian teenager was forced to knock on the door of a suspected West Bank militant .