German court halts site preparation for Tesla factory