But prosecutor Nicholas Robinson told the Victoria state Supreme Court that Thomas admitted to Australian police he trained at an al-Qaida camp in Afghanistan in 2001 , and had been told to watch military activities in Australia .