Judge overruled in case of ‘harm’ to Canada security