In the middle ages it was an accepted political act for two kings to sleep in the same bed as a symbol of unity between their two countries; much like the modern-day photo-op. There was nothing sexual about it.