Thanks IanR, but in the Planning Practice Guidance it states;
"The statutory framework covering “lawfulness” for lawful development certificates is set out in section 191(2) of the Act. In summary, lawful development is development against which no enforcement action may be taken and where no enforcement notice is in force, or, for which planning permission is not required."
Which seems to be saying the development becomes lawful once enforcement action can't be taken?