But what would Picard do? Court-martial, guilty, and the culprit is summarily beamed into space on wide dispersion during a "transporter accident".
You sir, have been watching too much TNG recut!
Though really, I'd see him throw the book at anyone stupid enough to do something like that. They'd deserve it really. A formal reprimand, along with getting the crappy assignments for the next year at least.