This means Berlusconi will be safe from prosecution until he leaves elected office , scheduled for 2006 .