The present invention relates to a transgenic plant or plant tissue. In particular, the present invention relates to a transgenic plant or plant tissue or plant cell comprising at least one polynucleotide comprising at least one sequence encoding a variable domain of a heavy-chain antibody (VHH) specifically binding to a sphingolipid of a fungus. Advantageously, the expression of the polynucleotide in at least part of the transgenic plant or plant tissue or plant cell (i) protects at least part of the transgenic plant or plant tissue or plant cell from an infection with a plant pathogenic fungus, (ii) inhibits the growth of a plant pathogenic fungus on at least part of the transgenic plant or plant tissue or plant cell, or (iii) increases the resistance of at least part of the transgenic plant or plant tissue or plant cell against a plant pathogenic fungus. The present invention also relates to a method for protecting at least part of a plant or plant tissue or plant cell from an infection with a plant pathogen, for inhibiting the growth of a plant pathogen on at least part of a plant or plant tissue or plant cell, or for increasing pathogen resistance of at least part of a plant or plant tissue or plant cell, comprising expressing in at least part of the plant or plant tissue or plant cell at least one polynucleotide encoding a VHH specifically binding to a pathogen.