Trimmed don't matter as only the exposed cuts will be contaminated, still the surface, not any deeper interior of the meat. Regardless of handling, Bacteria on intact meat is only ever on the surface and are killed shortly after going in the smoker.
We can infer if the OP is smart enough to be here to ask what can be done, he knows to have the smoker up to 225+ and they where at that temp 3 hours. IF the temp in the smoker was 170-180, intact ribs would be fine as we are only concerned with the surface bacteria and they would be dead. If they were factory enhanced/injected, they use brine and that would offer some protection. If they were home injected 170-180 would still likely get the IT up in the 130-140 range in the thin ribs which according to Louis Pasteur kills bacteria just fine.
Don't be hung up on the 40-140 Rule...It is a Guideline... A do this and you will be safe...BUT...Like the USDA Guidelines and many cautionary guidelines, don't run with scissors, has a built-in margin of error...Let's say it takes 5-6 hours to get to 140, no problem as 130 over time is just as effective at killing bacteria. Add intact meat don't count and if the meat is Injected, you need to consider injected with what? Brine or Apple juice? Little to worry about, salt or acid is inhospitable to bacteria. Injected with Broth and Butter? Well now we need to look harder at all the circumstances...JJ