Court ruling a rare allowance for euthanasia in largely Catholic Latin America