When make a return invoice against sales inovice then error occurs Sales Order xxxx is Closed

Hii when if we mark return against sales invoice it says you cannot Mark return because sales order is closed.

Ideally, ERPNext should allow making returns sales invoice even if the sales order is closed. However, there might be specific reasons why this feature is not currently available.

Is there any specific reason any one know .