Acceleration height has priority.
There is no thrust reduction until minimum acceleration is reached regardless of NDP.
NDP 2 gives you the choice to reduce thrust before or after flaps retraction,the lowest thrust reduction/flaps retraction is 800ft.