Claiming back interest on loan from tax!

السلام عليكم ورحمة الله وبركاته

My question is very simple. We all know and agree interest is haram. My question revolves around it.

Let’s suppose, my company borrowed £50k with internet of 10% for a special time. End of the contract I will be paying £50k principal with the £5k interest…

However, my business is allowed to claim back “the cost of borrowing” from HMRC.
I can easily claim back by £5k from my tax. Which I would be paying anyway, had I not taken the loan.

Is this practice shariah complaint?

جَزَاكَ ٱللَّٰهُ خَيْرًا