Complex sentence: Detmers tried to pose as a Dutch merchant ship; however, he allegedly lacked the necessary naval codes and was finally forced to engage "Sydney".
Split into simpler sentences: Detmers tried to pose as a Dutch merchant ship. However, he allegedly lacked the necessary naval codes and was finally forced to engage "Sydney".