Kim Dotcom's privacy was not breached when the government declined to release all its files on the internet entrepreneur, the High Court has ruled.
Mr Dotcom sent 52 requests for private information to ministers, government departments and contractors in 2015, asking for all information about him, but they were all declined.
In March, he was awarded $90,000 in damages by the Human Rights Review Tribunal, which ruled the requests for information should not have been transferred to the attorney-general and declined.
That decision prompted an appeal by the Crown.
The High Court now says it would not have awarded damages - had the court been required to do so - and the transfer of requests to the attorney-general was "proper and lawful".
Mr Dotcom is expected to challenge a court ruling that he could be extradited to the United States, where he faces charges relating to the defunct file-sharing website Megaupload.