So this chap was once sitting in a library and so deeply engrossed that by the time he looked up the library had shuttered down, with him inside it (and this is the pre cell-phone era we are talking about).

So he did what he could do, walk around in the library where he saw another person, 'she' too had been afflicted by the 'too engrossed to notice' syndrome.
So the two of them spent the night inside chatting....
...and a few months down the line they were married
so really...fairy tale romances do happen