It is absolutely necessary for new member states to keep a tight control on their borders with non-EU countries before joining the Schengen Zone, because otherwise just any illegal immigrant could enter the whole Schengen area as their is no passport check once you are in.