OTTAWA — A Canadian court has spoken. But Doug Ford, Ontario’s premier, says he knows better.

Mr. Ford, a combative right-wing politician who has often been compared to President Trump, wants to cut the Toronto City Council in half, saying the move would reduce costs and bureaucracy. Ontario’s Superior Court, a trial-level court, on Monday declared the effort unconstitutional.

Mr. Ford fired back on Wednesday by calling an emergency session of the Ontario legislature to invoke a rarely used federal law that allows provinces and the federal government to override, through new legislation, judicial decisions and parts of Canada’s constitution.

“This is about preserving the will of the people, this is about preserving democracy,” Mr. Ford told lawmakers.

His political opponents, as well as some political allies in his Progressive Conservative party, say he has gone too far.