While staying calm would obviously be smarter than spitting on people, it leading to someone being kept for months seems extremely excessive. Yes, obviously the agents would be upset about it, maybe they'll treat you a bit roughly and keep you longer than necessary (but only, like, over night). Maybe you'll get a fine or some other light-ish punishment, but anything more than that seems very unlikely in anything short of a police state.