A Liberal MP stood down over sexual assault allegations will have to break his new lease after a court ruled he would have to find a new place to live.