Albury magistrate tells victim's ex-boyfriend to 'stay away'