Police intervened in a pro-Palestinian demonstration and detained some of those who refused to leave in Berlin.