I think Schengen countries can under circumstances re-enable border controls temporarily. IIRC this was done a couple years back for the World Cup or something like that. Or at least they were discussing it in the news. But my memory is a bit fuzzy on that.