Japan funding for imperial ceremonies sparks rare dissent