Royal caribbean got my friend pulled into security and questioned for hours for a RPI, and they permitted it but held it locked away separately until you deboard at the end of trip (theres ''you cannot board at all with this item, figure it out or throw it away'' and theres ''we hold it until end of voyage'')
you usually spend 4+ hours away until you see your bag again at boarding time - you might board in morning and don't get access to your room/bag until 1-4pm
It's like going to a prison and paying for it. A pretty gilded one sure but still.
If there were real safety concerns I could understand but usually it's just because they want you to buy their overpriced drinks and internet service. After already paying a fortune for the trip.