The Irish regulator is acting on behalf of the EU as TikTok European head quarters are in Ireland.
And in terms of jurisdiction - it's a bit like you visiting Ireland on holiday and committing a crime - and then arguing they have no jurisdiction over you as you are only there for 2 weeks.