Don't Such Versus Or Perspectives Contradict?
I am adding my perspective. if its wrong scholars in this forum can correct me . I think no compulsion in religion as evident from complete ayah means that right path is so clear and easy to recognise that u dont need to force someone to convert. Now for the other part When kuffar or mushrikeen denies this fact even after seeing the evidence for themselves, spread fitna or wrong ideas then Rasool is given authority to announce punishment. I dont htink its contradiction as Allah has always said in Quran Kuffar and mushriks will be punished as they reject unity of Allah etc.
Please also refer to the video below from 47:10 to 49:37 https://youtu.be/N7U0oHCRNOU?t=2830