Living in Ontario, I've never heard of this law, but it's true.
I know quite a few sailors with porta-potties. If you read the regulation correctly, composting toilets are illegal because they don't have a means to pump out the crap. I'm going to look into this further and call them. I think composting is far superior than sewage.