10 (1) Where a court, judge, justice or provincial court judge summarily convicts a person for a contempt of court committed in the face of the court and imposes punishment in respect thereof, that person may appeal

(a) from the conviction; or

(b) against the punishment imposed.

(2) Where a court or judge summarily convicts a person for a contempt of court not committed in the face of the court and punishment is imposed in respect thereof, that person may appeal

(a) from the conviction; or

(b) against the punishment imposed.

(3) An appeal under this section lies to the court of appeal of the province in which the proceedings take place, and, for the purposes of this section, the provisions of Part XXI apply, with such modifications as the circumstances require.