Bruno Kramm, leader of Berlin's branch of the German Pirate Party, was arrested Saturday for insulting Turkish President Recep Tayyip Erdogan.

Kramm was detained while conducting a "literary analysis," in support of comedian Jan Boehmermann, outside the Turkish Embassy in Berlin. As part of the publicity stunt, he read two lines of Boehmermann poem ridiculing Erdogan.

The incident comes after chancellor Angela Merkel allowed prosecutors to file charges against Boehmermann, following Turkish demands that he be punished for broadcasting the poem on local television.

Boehmermann, however, was not physically detained by police.

RT reports that Kramm was

"approached by several police officers" after he began citing the lines and taken into custody. Police dispersed the gathering, according to RT.

The arrest will further embarrass the German government, which sees itself as supportive of free speech but has failed to scrap an old law against insulting foreign heads of state. Merkel has promised to do so, but has also been criticized for condemning the poem and cosying up to the Turks to get them to accept more Syrian refugees.