German court backs euro rescue fund with conditions