There are two ways to handle this:
- Install covered incandescent and/or fluorescent.
- Have the AHJ, not necessarily an inspector (but often times around here it is) allow the open recessed can if it is assured that equivalent objectives can be achieved
Any other way is an NEC violation. I certainly would not condone changing the trims after inspection or deciding to take selective application or enforcement of the NEC into your own hands.
Getting permission from the AHJ is not an NEC violation and it is a legitimate and professional way to handle this.