To be clear, the nitrates directive limits the amount of organic manure from animals. If you have digestate that is coming from non-animal sources, that is countable as the equivalent of the fertiliser component but not subject to the 170 kg N/ha limit.