Considering t!Ie nature and course of proceedings in the instant case, it seems to us impossible to hold that the challenge to Shri Gupta's appointment was made in a collateral proceeding. That Shri Gupta's appointment was not challenged in the very proceeding before him does not meet the point and in any case, if the proper mode to challenge the validity of an appointment to a public office is by a petition for the writ of quo warranto, the Labour Court over which Shri Gupta presided was hardly an appropriate forum for challenging the appoinment of its Presiding Officer. The 1st respondent, the Haryana Co-operative Transport Ltd., against whom Shri Gupta ga~e the award, filed a writ petition in the High Court of Punjab and Haryana to challenge the award on the ground that Shri Gupta was not qualified to hold the office of a Judge of the Labour Court and, therefore, the award given . by him was without jurisdiction. The challenge to Shri Gupta's appointment having been made by a writ petition under arts. 226 and 227 of tfie Constitution, to which Shri Gupta was impleaded as a partyrespondent, the challenge was made directly in a substantive proceeding and not collaterally. The writ petition was filed mainly with a view to challenge Shri Gupta's appointment on the ground t!Iat he W'!S not qualified to fill the post to which he was appointed. Having been impleaded to the writ petition he had a clear and rightful opportunity to defend his appointment. The proceedings by way of a writ petition were taken not collaterally for attacking an appointment to a judicial office in a proceeding primarily intended for challenging a so-called judicial decision, but the proceeding was taken principally and predominantly for challenging the appointment itself. None of the decisions, nor indeed the passage in Cooley's Treatise, 'is therefore, any answer to the prayer that the award be declared to be ultra vires on tho ground that the officer .who gave it was not qualified to hold that post in the exercise of whose functions the award was given.