Further to the comments given by FlimzyFlimzy (to whom thanks), German border officials do not select someone randomly and remove them on a whim. To the contrary, they follow the rules with relentless precision and the rules call for them to brief you on the grounds for your removal and to be reasonably sure that you understand them.
Commentary by "RelaxedRelaxed" (to whom thanks) has pointed out that...