as a teacher, I wouldn't care if it was 2 or 3 snacks as long as it's healthy and he can eat it in the set amount of time.
as the parent, I'd be ticked off big time if someone took away the snack I sent!

go in gently and ask what is the standard, and explain the allergies/weight issues and such.
then the teacher needs to buck it up!