R on the application of Purdy v Director of Public Prosecutions