Court remands 8 Nigerian pirates into prison custody