Police have been given more time to question seven of the nine suspects arrested during anti-terrorism raids in Birmingham last Wednesday.
The suspects were arrested on Wednesday
But a district judge sitting at Coventry Magistrates' Court said the other two suspects must be released or charged by 0400 GMT on Wednesday.
The time extension granted on the seven suspects is for 72 hours.
The men are being held on suspicion of the commission, instigation or preparation of acts of terrorism.
A heavily-guarded police convoy arrived for Tuesday's hearing at the magistrates' court.
Terror suspects can be held for up to 28 days without charge - but only if police can persuade a judge they need more time.
Police investigating an alleged plot to kidnap and murder a British Muslim soldier said on Monday they had finished searching 18 addresses.
Forensic teams searched addresses in the Sparkhill, Alum Rock, Kingstanding and Edgbaston areas of Birmingham.