(4) Ustanovení odstavce 3 platí obdobně, byl-li soudce dočasně přidělen k ministerstvu nebo Justiční akademii.