When , in the cases set out in paragraphs 1 or 2 of this Article , the corrective measures applied by the railway undertaking do not ensure conformity with the applicable essential requirements and that non - conformity leads to a serious safety risk , the national safety authority concerned may apply temporary safety measures under its supervision tasks , in accordance with Article 17(6 ) of Directive ( EU ) 2016/798 .