A Dutch court has ordered the provisional release of a young woman detained after her mother rescued her from Syria, where she had married an Islamic State (Isis) fighter.

“The judge has decided to free Aicha if she adheres to certain conditions,” the regional court in Limburg said on Tuesday.

A convert to Islam who travelled to Syria in February to marry an Isis fighter she saw as a Robin Hood figure, Aicha, whose surname was not given, was arrested after flying back to the Netherlands with her mother Monique last Wednesday.

A judge on Friday had ordered Aicha, 19, to be detained pending possible terrorism charges, including taking part in a terrorist organisation.

The court declined to give the precise conditions for her release, but said it broadly meant Aicha – called Sterlina before she adopted an Arab name – should “not commit any crimes and adhere to any request by the police and justice officials”.

The court also declined to say exactly when the Aicha will be released.

European states are increasingly concerned about returning jihadist fighters, but the question of what to do with women who travel to Iraq and Syria but do not fight is less clear. The Dutch authorities have barred Monique and Aicha’s lawyers from talking to the press because of the sensitivity of the case.

Monique, 49, has previously told Dutch television how her daughter converted to Islam and began wearing a niqab.

The teenager travelled to Syria to join a Dutch-Turkish jihadist fighter who went to the war-torn country to train others for Isis.

She later turned to her mother for help after her marriage failed and she ended up with a Tunisian fighter, the Dutch tabloid daily Algemeen Dagblad said.

The paper reported that Monique, wearing a niqab crossed the border into Syria and travelled to the Isis stronghold of Raqqa, but the Dutch prosecutor’s office said mother and daughter had met at the Turkish-Syrian border.

Public prosecutors said that if Aicha were found to have fought alongside Isis she could face up to 30 years in prison.