Portsmouth have won a court case with the tax authorities which could have forced the club into liquidation.