The prosecutor has accused the suspects, aged 24 to 26 and of Somali and Iraqi origin, of planning to stab Mr Vilks to death at an art event. The men carried knives when they were arrested on September 10, but have denied the charges.

Mr Vilks's 2007 drawing created tensions in Sweden and led to several threats against him, including from al Qaida.

Depicting Mohammed, even favourably, is considered blasphemous by many Muslims.