CANBERRA, Australia AP – An Australian judge ruled Friday that a quadriplegic man who says he cannot “undertake any basic human functions” has the right to direct a nursing home to stop feeding him and allow him to die.

The case sheds light on a gray legal area in Australia; patients have a lawful right to refuse lifesaving treatment but helping another to commit suicide is a crime punishable by a life prison sentence.