Germany to allow prosecution over Erdogan poem