Native woodlands can resist the spread of invasive species if they block light reaching the ground.