UE reports the capability based on the device and this should include the SIM capability as well. Device should know the supported RAT's and Bands of the SIM. Moreover if the SIM doesn't support certain RAT's like 2G/UMTS, it would not query for the capability of those RAT's itself.