Things are different, the synthesis method is the same, can you write a patent?
It depends on whether the patent claim of the other party protects the same part of the technology, and if so, it is likely to infringe. For example, a sensor is protected in the patent of the other party. If you use a sensor with the same design in the device, your final product is the device instead of the sensor, but it is still infringing.