The master of any ship who fails to comply with any requirement of section 231 or 232 commits an offence and is liable on summary conviction to a fine not exceeding $1,000.