1When a precautionary detention measure ceases to have effects, the court shall order the immediate release of the person subject to such measure.
2In cases when other precautionary measures cease to have effect, the court shall decide their immediate removal.