@Param Patel Understand, Finance Act, 2023 introduced a Proviso to Section 87A (w.e.f 1-4-24 ie., AY 2024-25). Section 115BAC deals with Tax Rates under the New Tax Regime.
Hence, the interpretaion is as follows :
1. Under old regime, 87A rebate continues for STCG as well provided, total taxable income plus LTCG is within 5 L
2. Under new regine, 87A rebate is no more applicable for STCG even if total income including LTCG is below Rs 7L
Appears, above proviso amendment was not reflecting in tax calculator or in ITR till first week of July, 2024 and later it has been corrected by dept.
No idea, how rebate availed under 87A for STCG before ITR backend correction (or before 5th July) will be handled now. One option could be to file revised ITR and pay taxes (addl burden of Rs 25K) 😳🙃