Catalonia's acting regional president in court