In which case yes, I believe what you did was unethical, in suporrting the continued production of dogs known to suffer severe health problems.
You chose, deliberately, a.dog breed that would suffer, when there are others that would have suited the situation just as well.