New security powers to stop and search anyone close to the Irish border do not breach a former republican prisoner’s rights to free movement, a High Court judge ruled today.