Notwithstanding subsection (a)(17), for individuals described in paragraph (1) who are covered under the State plan by virtue of subsection (a)(10)(A)(ii)(X)—
(A) the income standard to be applied is the income standard described in paragraph (1)(B), and
(B) except as provided in section 1382a(b)(4)(B)(ii) of this title , costs incurred for medical care or for any other type of remedial care shall not be taken into account in determining income.
Any different treatment provided under this paragraph for such individuals shall not, because of subsection (a)(17), require or permit such treatment for other individuals.