Unless this happens to you frequently, it should be no big deal, really. If one can afford to pay for two simultaneous hotel nights, one could surely afford a mattress run to maintain elite status if necessary.
So, if I understand it all correctly, I would earn points for both hotels, but only a stay/night from the hotel I slept in. Have I got it right?