October 7 attack 'legitimate': Islamic Council rep : compare