I have recently gone through this. So the thing is the dealer can’t force you to buy insurance from them. And they quoted 40k in the beginning but then I got them to give me one in 30k which was almost market price.
So, yes they can’t force you. Just tell them that you don’t want their car then.