Pre-images of extreme points of the numerical range, and applications