Looks like Kim Dotcom may just yet get the last laugh. New Zealand authorities announced that they made a procedural mistake before taking his property. He may now be able to reclaim $17.8 million of his seized assets and $6.8 million in frozen cash.

Apparently, it was seized with the wrong kind of court order, according to the New Zealand Herald. The judge presiding over the case declared the order used in the seizure null and void having no legal effect.

The authorities have since attempted to switch to the correct form of court order after they seized his assets and the new order was granted on a temporary basis, but a judge will soon decide whether the mix up means Dotcom can reclaim his property.

The U.S. has asked New Zealand to extradite Dotcom so he may stand trial for digital piracy in American courts. His charges include participating in a racketeering conspiracy to commit copyright infringement, and conspiring to commit money laundering and two substantive counts of criminal copyright infringement by the U.S. Department of Justice.

His extradition hearing is scheduled for August