For the purpose of capital adequacy, the largest of the risk weights applicable among all the categories would be applicable for the exposure.
The rationale for such an approach is that, while at times certain classifications / categorizations could be driven by socio-economic considerations and may be aimed at encouraging flow of credit towards certain activities, these exposures should be subjected to appropriate risk management / prudential / capital adequacy norms so as to address the risk inherent in them.