Ecological sustainability from a legal philosophy perspective