I've handed my husband my boarding pass for a higher class or service and taken his economy seat with no issues, but we did not visit during the flights. It doesn't matter whose miles got the tickets.
Sometimes it does give the FA's a serious chuckle.