A German court has ruled that circumcising young boys on religious grounds amounts to grievous bodily harm, in a landmark decision that the Jewish community said trampled on parents' religious rights.