A non-ideal approach to freedom of movement