It probably violates the Schengen Agreement and will likely get tossed out by some E.U. court.
Which is, by the way, why you should NEVER become part of the E.U.
So how is this going to work?