Nope, EU countries have always had the possibility of border control (with some limitations).
Its just that not having border control is cheaper and allowing people work across birders is good for the economy. So basically until late 2016 the pros outweighed the cons.