Foreign nationals who have been granted a temporary residence permit in connection with the circumstances referred to in Article 159(1) or Article 186 (1) (3) or (4) of the Act of 12 December 2013 on foreign nationals (Journal of Laws of 2017, items 2206 and 2282 and of 2018, items 107, 138 and 771).