Not very pleased with this episode as it does not follow the mythology of the roommate agreement.
The agreement was drawn up before they were friends and Leonard having to drive, pick up dinner, bathroom regulations and the rest were terms for him living there. Indeed in the episode where Priya challenged the agreement Sheldon ended up closing loopholes in it.
Now they could have gotten around this by simply having Sheldon state that he had put this 'escape hatch' into the agreement for his own use but they didn't.
There are a lot of things that the writers can slide with but Sheldo