Back taxes held up in court

I owe back taxes.  But it is currently held up in court (9th district appeals court) ... meaning still awaiting trial date.

 

I will be filing taxes (tax year 2024) and I will have refund coming back to me. 

 

Will IRS keep my refund even though it's still in the courts?