If I’m the Bishop and this law passes in Ireland, then the mandate comes down, no further face to face confessions, only confessions behind the screen like the old days. Priests won’t know the identity of their penitents. Problem solved.
What about confessions heard during extreme unction?