Decisions regarding the placement and extension of pre-trial detention shall be taken by the liberty and custody judge who, after receiving a written and reasoned application from the Deputy European Public Prosecutor, shall rule after an adversarial hearing organised in accordance with the provisions of Article 145.