Data is just a big dildo with excellent programmable options and he was available for all the Senior staff to make use of. For his education.
I've been saying this about Data ever since his Tasha usage.
Don't forget this is Roddenberry's future, everyone is enlightened. The big yellow dildo was the least of what was going on.