legal habitat protection