25 The Administrativen sad Sofia-grad states that Mr Kadzoev is still detained in the detention centre. 26 The main proceedings were commenced by an administrative document filed by the director of the Directorate for Migration at the Ministry of the Interior, asking the Administrativen sad Sofia-grad to rule of its own motion, pursuant to Article 46a(3) of the Law on foreign nationals, on the continued detention of Mr Kadzoev. 27 That court states that, before the Law on foreign nationals in the Republic of Bulgaria was amended for the purpose of transposing Directive 2008/115, the duration of detention in the detention centre was not limited to any period. It points out that there are no transitional provisions governing situations in which decisions were taken before that amendment. The applicability of the new rules deriving from the directive to periods and the grounds for extending them is therefore a matter on which interpretation should be sought, especially as, in the case at issue in the main proceedings, the maximum duration of detention laid down by the directive had already been exceeded before the directive was adopted. 28 Moreover, there is no express provision stating whether in a case such as the present one the periods referred to in Article 15(5) and (6) of Directive 2008/115 are to be understood as including the period during which the foreign national was detained when there was a legal prohibition on executing an administrative measure of ‘deportation’ on the ground that a procedure for recognition of humanitarian and refugee status had been initiated by Mr Kadzoev. 29 Finally, the referring court indicates that, if there is no ‘reasonable prospect of removal’ within the meaning of Article 15(4) of Directive 2008/115, the question arises whether the immediate release of Mr Kadzoev should be ordered in accordance with that provision. 30 In those circumstances, the Administrativen sad Sofia-grad decided to stay the proceedings and refer the following questions to the Court for a preliminary ruling: ‘1. Must Article 15(5) and (6) of Directive 2008/115 … be interpreted as meaning that: (a) where the national law of the Member State did not provide for a maximum period of detention or grounds for extending such detention before the transposition of the requirements of that directive and, on transposition of the directive, no provision was made for conferring retroactive effect on the new provisions, the requirements of the directive only apply and cause the period to start to run from their transposition into the national law of the Member State? (b) within the periods laid down for detention in a specialised facility with a view to removal within the meaning of the directive, no account is to be taken of the period during which the execution of a decision of removal from the Member State under an express provision was suspended owing to a pending request for asylum by a third-country national, where during that procedure he continued to remain in that specialised detention facility, if the national law of the Member State so permits? 2. Must Article 15(5) and (6) of Directive 2008/115 … be interpreted as meaning that within the periods laid down for detention in a specialised facility with a view to removal

Select target paragraph3