The High Court has made a major ruling on the powers of the ODPP after a senior prosecutor was summoned over a controversial land fraud case.