The procedure provided for in article L. 332-2 is applicable to the decision to refuse entry taken against the foreign national pursuant to Article 6 of Regulation 2016/399 of the European Parliament and of the Council of 9 March 2016. It is also applicable during checks carried out at an internal border in the event of the temporary reintroduction of checks at internal borders under the conditions provided for in Chapter II of Title III of the same Regulation.