Discovered a paper very late into my research - what now?
It's just one paper. Papers in academia conflict quite often, sometimes with reasonable explanation.

What you should do depends a lot on the nature of the conflict. At a minimum, you should address the paper's arguments in your literature review and why you think your dissertation will find different results, or why the paper doesn't apply, or why you think parts of the paper are relevant but other parts are not, or what have you.

If the paper reveals a much more substantial error in your argument, you may have to rework sections of your argument or tweak your approach.

But the discovery of one paper is very unlikely to torpedo an entire dissertation project.